void SetPhase(Phase newPhase) { if (currentPhase != newPhase) { taskManager.AbortAll(); Debug.Log("AbortCurrent;" + newPhase); currentPhase = newPhase; SwitchAction(); } }