void Awake() { if (_instance != null) { Destroy(gameObject); } else { _instance = this; } }
void Awake() { if (_instance != null) { Destroy(gameObject); } else { _instance = this; } //activeUnitsInGame = new List<UnitController>(); activeUnitsInGame = new List <UnitCtrl>(); unitOrdersCtrl = GetComponent <UnitOrdersCtrl>(); }