コード例 #1
0
 public void StartWait(Func <bool> waitF, Action onEnd)
 {
     this.waiter = new Util.Waiter();
     this.waiter.StartWait(waitF, () =>
     {
         this.waiter = null;
         onEnd();
     });
 }
コード例 #2
0
 public void StartWait(Action startWaitF, Func <bool> isReadyF, Action onEnd)
 {
     startWaitF();
     this.waiter = new Util.Waiter();
     this.waiter.StartWait(isReadyF, () =>
     {
         this.waiter = null;
         onEnd();
     });
 }