public IEnumerator CoTitle() { yield return(new WaitForSeconds(1f)); NMMain.LoadScene("FlowTest_Level01"); yield break; }
public IEnumerator CoIntro() { yield return(new WaitForSeconds(1f)); NMMain.LoadScene("FlowTest_Title"); yield break; }
public override void Enter() { base.Enter(); if (string.IsNullOrEmpty(_nextScene)) { NMMain.LoadScene(_nextScene); } }
public void ActiveMunu() { NMMain.LoadScene(typeof(Zone01)); return; menu.SetActive(menu.activeSelf == false); //continueBtn.gameObject.SetActive(menu.activeSelf); //golobbyBtn.gameObject.SetActive(menu.activeSelf); }
IEnumerator CoIntro() { SoundManager sounds = SoundManager.instance; yield return(NMUI.GetUI <Image>("image").DOFade(1f, 2f).WaitForCompletion(false)); yield return(new WaitForSeconds(1f)); yield return(NMUI.GetUI <Image>("image").DOFade(0f, 2f).WaitForCompletion(false)); yield return(NMUI.Fade(1, 0.3f)); sounds.PlaySound(sounds.introBGM); sounds.FadeInSound(sounds.introBGM); NMMain.LoadScene(typeof(Title)); yield break; }
void Awake() { _instance = this; Init(); }
public void LoadTitleMunu() { NMMain.LoadScene(typeof(Title)); }
public void NextScene(int index) { Debug.Log("start loading Scene"); NMMain.LoadScene(typeof(Zone01)); NMUI.GetUI <AnimationHandler>("title_anim").UnRegiEvent(NextScene); }