コード例 #1
0
ファイル: AbstractCommand.cs プロジェクト: hbpp/GearUnity
 protected virtual void InvokeComplete()
 {
     if (delayInvokeComplete == 0f)
     {
         if (OnCommandComplete != null)
         {
             OnCommandComplete(this);
         }
     }
     else
     {
         EnterFrameTimer.SetTimeOut((uint)(delayInvokeComplete * 1000), delegate() {
             if (OnCommandComplete != null)
             {
                 OnCommandComplete(this);
             }
         });
     }
 }