public void GoToMap(AudioSource audio) { if (behave.showTutorial) { backArrow.SetActive(false); } script.GoToMapWithSound(audio); }
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); }
public void goToMap(AudioSource audio) { behave.LevelCleared(); behave.GoToMapWithSound(audio); }
public void goToMapScene(AudioSource audio) { behave.GoToMapWithSound(audio); }