Author Topic: UIDraggablePanel behaviour question  (Read 2591 times)

Camtrack

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
UIDraggablePanel behaviour question
« on: June 24, 2013, 06:37:19 AM »
is posible to get this behaviour ?

thanks


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIDraggablePanel behaviour question
« Reply #1 on: June 24, 2013, 10:48:36 AM »
Yeah. Draggable panel script, Drag effect: None.

Camtrack

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: UIDraggablePanel behaviour question
« Reply #2 on: June 24, 2013, 11:18:34 AM »
mmm Im not getting that behaviour ,  if I press the mouse over the items , the items start to  move horizontally whereever the mouse is on the image  until it gets unpressed

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIDraggablePanel behaviour question
« Reply #3 on: June 25, 2013, 01:24:17 AM »
Well, considering you are on the free version... who knows if it's bugged here or not. Free version is over a year old and isn't supported. It's meant as a preview.

Camtrack

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: UIDraggablePanel behaviour question
« Reply #4 on: June 25, 2013, 03:00:26 AM »
Im not getting the point

Its only a behaviour question, of course Im evaluating ngui to buy it

Im want to konw if it can do a pannel not to be dragged if the mouse (after pressed over the surface ) quits the panel surface

Im not asking the way to do that , im asking if the feature exists


dlewis

  • Guest
Re: UIDraggablePanel behaviour question
« Reply #5 on: June 25, 2013, 03:41:38 AM »
Even if the feature doesn't fully exist (I can't comment either way), you get full source code so you can always make changes yourself if NGUI doesn't 100% cover your spec.

unser

  • Guest
Re: UIDraggablePanel behaviour question
« Reply #6 on: June 25, 2013, 04:09:01 AM »
I have the same problem. I want the buttoms to stop dragging once I carry the pressed mouse outside of the buttoms area.
Does that option exist on Ngui?
Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIDraggablePanel behaviour question
« Reply #7 on: June 25, 2013, 12:16:19 PM »
You can cancel the drag operation at any time yourself. Detect when the mouse leaves the panel's region and cancel the drag. Check UICamera.currentTouch and set the dragged object to null.