public void GoToMap(AudioSource audio)
    {
        if (behave.showTutorial)
        {
            backArrow.SetActive(false);
        }

        script.GoToMapWithSound(audio);
    }
Example #2
0
    public void GoToMap(AudioSource audio)
    {
//		var behave = GameObject.FindGameObjectWithTag("Behaviour").GetComponent<GameBehavior>();

        if (behave.showTutorial)
        {
            behave.showAttributes = true;
            behave.GoToMissionInventory(audio, 0);
            backArrow.SetActive(false);
            canvasTutorial.SetActive(false);
        }

        if (behave.goingToMission)
        {
            behave.goingToMission = false;
            behave.GoToMissionInventory(audio, behave.selectedMission);
        }


        behave.GoToMapWithSound(audio);
    }
Example #3
0
 public void goToMap(AudioSource audio)
 {
     behave.LevelCleared();
     behave.GoToMapWithSound(audio);
 }
Example #4
0
 public void goToMapScene(AudioSource audio)
 {
     behave.GoToMapWithSound(audio);
 }