public void ShowTutorial() { currentTutorial++; if (currentTutorial < actions.Length) { actionsUI.ClearTutorialActions(); tutorialTargets[currentTutorial].SetActive(true); if (currentTutorial > 0) { tutorialTargets[currentTutorial - 1].SetActive(false); } actionsUI.AddTutorialActions(actions[currentTutorial]); } else { // No more tutorials TutorialText.text = "Try to complete the level by yourself now!"; actionsUI.ClearTutorialActions(); if (onTutorialFinish != null) { onTutorialFinish(); } } }