public void OnColoRankModify() { CriticalSection.Leave(CriticalSections.SceneChange); string errMsg = Network.ErrMsg; Network.RemoveAPI(); Network.ResetError(); SRPG_TouchInputModule.LockInput(); UIUtility.SystemMessage((string)null, errMsg, (UIUtility.DialogResultEvent)(go => { SRPG_TouchInputModule.UnlockInput(false); ((Behaviour)this).set_enabled(false); this.ActivateOutputLinks(6); }), (GameObject)null, true, -1); }
private void Play(string fileName) { ((Behaviour)this).set_enabled(true); this.hBGMVolume = new MySound.VolumeHandle(MySound.EType.BGM); this.hBGMVolume.SetVolume(0.0f, 0.0f); this.hVoiceVolume = new MySound.VolumeHandle(MySound.EType.VOICE); this.hVoiceVolume.SetVolume(0.0f, 0.0f); if (this.AutoFade) { SRPG_TouchInputModule.LockInput(); CriticalSection.Enter(CriticalSections.Default); FadeController.Instance.FadeTo(this.FadeColor, 1f, 0); this.StartCoroutine(this.PlayDelayed(fileName, new StreamingMovie.OnFinished(this.OnFinished))); } else { MonoSingleton <StreamingMovie> .Instance.Play(fileName, new StreamingMovie.OnFinished(this.OnFinished), (string)null); } }
private void PlayMovie(string filename) { this.hBGMVolume = new MySound.VolumeHandle(MySound.EType.BGM); this.hBGMVolume.SetVolume(0.0f, 0.0f); this.hVoiceVolume = new MySound.VolumeHandle(MySound.EType.VOICE); this.hVoiceVolume.SetVolume(0.0f, 0.0f); if (this.AutoFade) { SRPG_TouchInputModule.LockInput(); CriticalSection.Enter(CriticalSections.Default); FadeController.Instance.FadeTo(this.FadeColor, this.FadeTime, 0); this.PlayFilename = filename; } else { MonoSingleton <StreamingMovie> .Instance.Play(filename, new StreamingMovie.OnFinished(this.Finished), "UI/FullScreenMovieDemo"); this.Played = true; } }
private void EndIdle() { SRPG_TouchInputModule.LockInput(); }