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