Author Topic: UIDragPanel stops working once deselected  (Read 2455 times)

sk1989

  • Guest
UIDragPanel stops working once deselected
« on: August 09, 2012, 01:00:05 PM »
Hello,

I have a UIDragPanel working in a number of different scenes, where the contents of the panel includes a vertical column of buttons. The UIDragPanel works fine at first, but once you switch between scenes or activate a button by pressing it, the panel will no longer drag when you click and move it. This does not only effect the current scene which you are playing on. If I were to click on a button in the drag panel and move to a different scene with another drag panel in it, it will also not drag anymore. Does anyone know why this would stop working on an event, considering nothing in the code is being changed to effect this?

Thank you

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIDragPanel stops working once deselected
« Reply #1 on: August 09, 2012, 02:24:11 PM »
I'm confused.. moving UI between different scenes? Do you mark it as DontDestroyOnLoad or something?