Hello Guest

Author Topic: Scrollable Area setup help.  (Read 4424 times)

kartast

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 7
    • View Profile
Scrollable Area setup help.
« on: September 29, 2013, 12:39:46 pm »
I am trying to get scrollable area working. I drag scrollableArea_Horizontal prefab to the scene, add some sprites as child of Contents. Set the visible length to be shorter than content length. But when I play, it wouldn't respond to my touches. I try to copy and paste from scrollable area scene example but it doesn't work either. Any setup necessary to make it scroll?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Scrollable Area setup help.
« Reply #1 on: September 29, 2013, 04:32:52 pm »
Does mouse work? You do have the tk2dUICamera / manager set up properly, right?

kartast

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Scrollable Area setup help.
« Reply #2 on: September 30, 2013, 02:51:31 am »
I have a tk2dcamera, and i Add tk 2d ui camera script into it. When I press play, tk2duimanager is added into the scene automatically. click also doesn't work.
How can I ensure I got it setup correctly?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Scrollable Area setup help.
« Reply #3 on: September 30, 2013, 11:26:30 am »
Does a normal button work? Is the scrollable area too close to the camera that the collider is getting blocked? Do the demos work?