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