Пример #1
0
 public void Schedule(System.Action <ISPAnim> callback)
 {
     if (_scheduler == null)
     {
         _scheduler = new AnimEventScheduler(this);
     }
     _scheduler.Schedule(callback);
 }
Пример #2
0
 public void Schedule(Action <ISPAnim> callback)
 {
     if (_state == null)
     {
         throw new System.ObjectDisposedException("ISPAnim");
     }
     if (_scheduler == null)
     {
         _scheduler = new AnimEventScheduler(this);
     }
     _scheduler.Schedule(callback);
 }
Пример #3
0
 public void Schedule(Action <ISPAnim> callback, float timeout, ITimeSupplier time)
 {
     if (_routine == null)
     {
         throw new System.ObjectDisposedException("ISPAnim");
     }
     if (_scheduler == null)
     {
         _scheduler = new AnimEventScheduler(this);
     }
     _scheduler.Schedule(callback, timeout, time);
 }