void Start() { Time.timeScale = 1f; Menu1stPage = GameObject.Find("1stPage"); Menu2ndPage = GameObject.Find("2ndPage"); FirstMissionSelected = GameObject.Find("btnSelect1stMission"); SecondMissionSelected = GameObject.Find("btnSelect2ndMission"); FirstMissionStart = GameObject.Find("btnStart1stMission"); SecondMissionStart = GameObject.Find("btnStart2ndMission"); MenuTutorialPage = GameObject.Find("TutorialPage"); MenuTutorialPage2 = GameObject.Find("TutorialPage2"); ScorePage = GameObject.Find("scorePage"); ScorePage2 = GameObject.Find("scorePage2"); menuAnimator = gameObject.GetComponent <Animator>(); menuAnimator.SetInteger("animMenu", 0); Menu1stPage.SetActive(true); Menu2ndPage.SetActive(false); MenuTutorialPage.SetActive(false); MenuTutorialPage2.SetActive(false); FirstMissionSelected.SetActive(false); SecondMissionSelected.SetActive(false); FirstMissionStart.SetActive(false); SecondMissionStart.SetActive(false); ScorePage.SetActive(false); ScorePage2.SetActive(false); scriptGerenciaSons.bgmSoundEffects[9].Stop(); scriptGerenciaSons.bgmSoundEffects[10].Stop(); scriptGerenciaSons.playTheSoundBGM(9); }
void Start() { isHidden = false; scriptGerenciaSons.playTheSoundBGM(10); scriptGerenciaSons.bgmSoundEffects[9].Stop(); }