public void PointerClick() { if (moveController.IsFollowing()) { moveController.StopFollowing(); } TutorialController.GetInstance().SkipTutorials(); }
public void PointerClick() { if(dismissed) { TutorialController.GetInstance().AdvanceTutorial(); } else { dismissed = true; moveController.StopFollowing(); buttonText.text = "Next Tutorial"; } }
/* * ReloadYear: If the user is returning from traveling to a planet, reload the year that they originally came from * Parameters: string path - the path to the save data text file where the year is stored */ private void ReloadYear(string path) { //Read the year text stored in the file in path string readText = File.ReadAllText(path); //Delete the file to restart the experience in the originally state File.Delete(path); int yearIndex = GetYearIndex(int.Parse(readText)); //Teleport to year but skip the hyperspeed StartCoroutine(TeleportToYear(yearIndex, false)); TutorialController.GetInstance().SkipTutorials(); }