Esempio n. 1
0
 private void OnDestroy()
 {
     if (Prefabs.Instance == this)
     {
         Prefabs.Instance = null;
     }
 }
Esempio n. 2
0
 private void Awake()
 {
     Prefabs.Instance = this;
 }
Esempio n. 3
0
 private void Awake()
 {
     Prefabs.Instance = this;
 }