Author Topic: NGUI.TOOls set active not working as intended ?????  (Read 15489 times)

Rafe

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 78
    • View Profile
Re: NGUI.TOOls set active not working as intended ?????
« Reply #15 on: July 25, 2012, 12:15:12 AM »
You can't. Disabled game objects can't receive events.

You can call methods on disabled components/objects though (I think). Delegates might work, or calling your own method directly from another script. I am pretty sure it works because at the end of the day these are just classes instanced in memory. Their state in Unity is a sort of meta behaviour. Worth a try anyway

sk1989

  • Guest
Re: NGUI.TOOls set active not working as intended ?????
« Reply #16 on: July 26, 2012, 03:14:55 PM »
no actually they don't work, but I got around it by just having to move the positions of the off the screen when selected instead of disabling it, I thought that was the best solution for this problem and it works for me.