2D Toolkit Forum

2D Toolkit => Support => Topic started by: kartast on September 29, 2013, 12:39:46 pm

Title: Scrollable Area setup help.
Post by: kartast 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?
Title: Re: Scrollable Area setup help.
Post by: unikronsoftware on September 29, 2013, 04:32:52 pm
Does mouse work? You do have the tk2dUICamera / manager set up properly, right?
Title: Re: Scrollable Area setup help.
Post by: kartast 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?
Title: Re: Scrollable Area setup help.
Post by: unikronsoftware 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?