コード例 #1
0
        public IEnumerator CoTitle()
        {
            yield return(new WaitForSeconds(1f));

            NMMain.LoadScene("FlowTest_Level01");
            yield break;
        }
コード例 #2
0
        public IEnumerator CoIntro()
        {
            yield return(new WaitForSeconds(1f));

            NMMain.LoadScene("FlowTest_Title");
            yield break;
        }
コード例 #3
0
ファイル: Loading.cs プロジェクト: DongKyoungPark/NineMates
 public override void Enter()
 {
     base.Enter();
     if (string.IsNullOrEmpty(_nextScene))
     {
         NMMain.LoadScene(_nextScene);
     }
 }
コード例 #4
0
        public void ActiveMunu()
        {
            NMMain.LoadScene(typeof(Zone01));
            return;

            menu.SetActive(menu.activeSelf == false);
            //continueBtn.gameObject.SetActive(menu.activeSelf);
            //golobbyBtn.gameObject.SetActive(menu.activeSelf);
        }
コード例 #5
0
ファイル: Intro.cs プロジェクト: DongKyoungPark/NineMates
        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;
        }
コード例 #6
0
 void Awake()
 {
     _instance = this;
     Init();
 }
コード例 #7
0
 public void LoadTitleMunu()
 {
     NMMain.LoadScene(typeof(Title));
 }
コード例 #8
0
ファイル: Title.cs プロジェクト: DongKyoungPark/NineMates
 public void NextScene(int index)
 {
     Debug.Log("start loading Scene");
     NMMain.LoadScene(typeof(Zone01));
     NMUI.GetUI <AnimationHandler>("title_anim").UnRegiEvent(NextScene);
 }