示例#1
0
        private void OpenGameLevelPause()
        {
            GameObject go = UIViewUtil.Instance.OpenWindow(UIViewType.GameLevelPause);

            m_PauseView = go.GetComponent <UIGameLevelPauseView>();
            DataTransfer data = new DataTransfer();

            data.SetData(ConstDefine.MusicStatus, Global.Instance.IsPlaySound);
            m_PauseView.SetUI(data);
        }
示例#2
0
 private void OpenGameLevelPauseWindow()
 {
     m_PauseWindow = UIViewUtil.Instance.OpenWindow(UIViewType.Pause).GetComponent <UIGameLevelPauseView>();
 }