Exemplo n.º 1
0
 public static void Hide()
 {
     if (instance != null)
     {
         UiShowHide.HideAll(instance.transform);
         Destroy(instance.gameObject, 1);
         instance = null;
     }
 }
Exemplo n.º 2
0
 //  Will be called before destroying this object. return time of closing animation
 public virtual float PreClose()
 {
     return(UiShowHide.HideAll(transform));
 }