コード例 #1
0
        private void OpenGameLevelFail()
        {
            GameObject go = UIViewUtil.Instance.OpenWindow(UIViewType.GameLevelFail);

            m_FailView = go.GetComponent <UIGameLevelFailView>();
            DataTransfer data = new DataTransfer();

            data.SetData(ConstDefine.MusicStatus, Global.Instance.IsPlaySound);
            m_FailView.SetUI(data);
        }
コード例 #2
0
 private void OpenGameLevelFailWindow()
 {
     m_FailWindow = UIViewUtil.Instance.OpenWindow(UIViewType.Fail).GetComponent <UIGameLevelFailView>();
     m_FailWindow.SetUI(GameLevelSceneCtrl.Instance.CurFloor);
 }