Author Topic: Scrolling UIButton with UIDraggableCamera  (Read 4122 times)

tiphaine

  • Guest
Scrolling UIButton with UIDraggableCamera
« on: November 06, 2012, 09:05:10 AM »
Hello, I tried to use the draggable camera.
I add UIButton as item in the UITable, so there are the draggable items.
The problem is when I click on an item, I cannot drag because I press the button.
I don't want the button to be activate when I drag the items. But I also need to click on the button when I am not dragging.
Thanks.

AndyGFX

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 24
    • View Profile
    • AndyGFX
Re: Scrolling UIButton with UIDraggableCamera
« Reply #1 on: November 06, 2012, 12:24:17 PM »
You need write your button event, I had same problem too.
http://www.tasharen.com/forum/index.php?topic=2086.msg10395#msg10395

tiphaine

  • Guest
Re: Scrolling UIButton with UIDraggableCamera
« Reply #2 on: November 07, 2012, 03:40:53 AM »
Ok, thanks for the answer.
I am going to try this idea.

tiphaine

  • Guest
Re: Scrolling UIButton with UIDraggableCamera
« Reply #3 on: November 07, 2012, 05:38:51 AM »
I have tried your solution but it's not working. The button isn't sending the OnPress message but the slider isn't received the drag message.
I'm using the Draggable camera and not the draggable panel.
Any idea ?
Thanks

Madgeniy

  • Guest
Re: Scrolling UIButton with UIDraggableCamera
« Reply #4 on: February 21, 2013, 10:03:13 AM »
Possibly, you need to change scripts order in Editor. If Unity is less Unity 4, you need delete and add scripts in order what you need or buy special stuff for it on AssetStore (about 2$).