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); }
private void OpenGameLevelPauseWindow() { m_PauseWindow = UIViewUtil.Instance.OpenWindow(UIViewType.Pause).GetComponent <UIGameLevelPauseView>(); }