void Awake()
 {
     if (inst == null)
     {
         inst = this;
     }
     for (int i = 0; i < inGame.Length; ++i)
     {
         inGame[i] = false;
     }
 }
Beispiel #2
0
 private void Awake()
 {
     _instance = this;
 }