Beispiel #1
0
 void OnDestroy()
 {
     if (ArenaManager.Instance == this)
     {
         ArenaManager.Instance = null;
     }
 }
Beispiel #2
0
 void Awake()
 {
     if (ArenaManager.Instance == null)
     {
         ArenaManager.Instance = this;
     }
 }