Пример #1
0
    public void GoToMap(AudioSource audio)
    {
        if (behave.showTutorial)
        {
            backArrow.SetActive(false);
        }

        script.GoToMapWithSound(audio);
    }
Пример #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);
    }
Пример #3
0
 public void goToMap(AudioSource audio)
 {
     behave.LevelCleared();
     behave.GoToMapWithSound(audio);
 }
Пример #4
0
 public void goToMapScene(AudioSource audio)
 {
     behave.GoToMapWithSound(audio);
 }