Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: shokinhan on June 14, 2013, 10:04:44 AM

Title: The HighLight GameObject lifetime
Post by: shokinhan on June 14, 2013, 10:04:44 AM
If the UICamera highlight the gameobject "A", then the mouse above the gameobject, it may be trigger "OnHover".

But if gameobect "A" was destroyed, another module don't know the event "OnHover" has be changed invliad !  Truely , I want to know exit the event "OnHover"!
 
How to reslove this probleam?




Title: Re: The HighLight GameObject lifetime
Post by: ArenMook on June 14, 2013, 05:05:26 PM
What? Hover events are handled by UICamera.Highlight function, and don't trigger if the script is null.
Title: Re: The HighLight GameObject lifetime
Post by: shokinhan on June 15, 2013, 02:18:33 AM
Thanks!1