private void Start() { sceneManagment = FindObjectOfType <SceneManagement>(); touchInput = FindObjectOfType <TouchInput>(); Player.instance.Coins = 25; Debug.Log(sceneManagment.CurrentLevelName()); //Checks to see if the current scene is the tutorial level if (sceneManagment.CurrentLevelName() == "Tutorial") { StartCoroutine(PlayTutorial()); } }
private void Start() { //Checks to see if the current scene is the tutorial level if (SceneManagement.CurrentLevelName() == "Tutorial") { StartCoroutine(PlayTutorial()); } }