Esempio n. 1
0
    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());
        }
    }
Esempio n. 2
0
 private void Start()
 {
     //Checks to see if the current scene is the tutorial level
     if (SceneManagement.CurrentLevelName() == "Tutorial")
     {
         StartCoroutine(PlayTutorial());
     }
 }