public static SelectAttack GetInstance() { if (_instance == null) { _instance = new SelectAttack(); } return(_instance); }
private void Awake() { if (instance != null) { Debug.Log("Warning multiple inventorys found"); return; } instance = this; }
private static void InitMap() { _map[AttackManager.GetInstance().PhaseName] = SelectAttack.GetInstance(); _map[MoveManager.GetInstance().PhaseName] = SelectMove.GetInstance(); }