Author Topic: About GameObject "OnHover "  (Read 2280 times)

shokinhan

  • Guest
About GameObject "OnHover "
« on: May 30, 2013, 10:56:50 AM »
If the gameobject was  onhover(true) , then some one delete the gameobject , but the gameobject don't know onhover(false).

So I do so example:
      
   go.SendMessage("OnHover", false);
        NGUI.Destroy(go);

But it will be error, because go has be deleted!

How to reslove this probleam?


Thanks very much