Author Topic: Scrollview issue when using tweens  (Read 3936 times)

pad406

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 62
    • View Profile
Scrollview issue when using tweens
« on: February 04, 2014, 04:41:26 PM »
I'm setting up a scene very similar to the Example 9 - Quest Log. I have a scroll view with a number of headings. When you click on a heading, more information appears under it and the window is shifted down, all done via tweens. Everything is working fine except for one issue. Once a topic is expanded, I can only scroll the view when I'm on the headings, if I'm on the additional information, the screen doesn't scroll. I'm obviously missing something, but I cant find it. Any ideas anybody?

thanks
Paul

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Scrollview issue when using tweens
« Reply #1 on: February 04, 2014, 06:55:08 PM »
Your collider with the dragScrollView needs to be resized too, otherwise you're not hitting anything with your touches. Turn on Gizmos and select the scrollview in the hierarchy to see them.

pad406

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 62
    • View Profile
Re: Scrollview issue when using tweens
« Reply #2 on: February 05, 2014, 06:55:08 AM »
Thanks for the response Nicki. I did have a collider and reference to the script. Finally trace the issue to the fact that I had no UISprite script attached. Suspect that is't probably more due to the depth setting on this than anything else. Anyway all working ok now. Cheers.