void OnPhaseChange(bool start) { if (start) { if (tutorialMode) { if (tutorial.CompareTutorial(actions)) { moveCoroutine = StartCoroutine(MoveByTurns()); } else { movesQueue.Clear(); actions.Clear(); actionsUI.ClearActionsList(); tutorial.FinishedTutorialMove(); } } else { moveCoroutine = StartCoroutine(MoveByTurns()); } } else { actions.Clear(); movesQueue.Clear(); actionsUI.ClearActionsList(); } }