コード例 #1
0
ファイル: ATBPlayer.cs プロジェクト: typocrypha/typocrypha-ii
 void Awake()
 {
     ph = new PauseHandle(OnPause);
     Setup();
 }
コード例 #2
0
 /// <summary>
 /// Checks if the execution should be paused or canceled.
 /// </summary>
 public void CheckPauseAndCancel()
 {
     AbortIfCancelled();
     PauseHandle.WaitOne();
 }