Example #1
0
 void OnDestroy()
 {
     Hide();
     //StopAllCoroutines();
     CancelInvoke();
     Instance = null;
 }
Example #2
0
 void Awake()
 {
     Instance = this;
 }