Esempio n. 1
0
 void OnDestroy()
 {
     Instance = null;
 }
Esempio n. 2
0
 void Awake()
 {
     canvasGroup.alpha = 1f;
     Instance          = this;
     gameObject.SetActive(false);
 }