示例#1
0
 public void SSEventAction(SSAction source, SSActionEventType events = SSActionEventType.COMPLETED,
                           int intParam = 0, string strParam = null, Object objParam = null) //通过对callback函数的调用执行下个动作
 {
     source.destory = false;
     this.start++;
     if (this.start >= this.sequence.Count)
     {
         this.start = 0;
         if (this.repeat > 0)
         {
             this.repeat--;
         }
         if (this.repeat == 0)
         {
             this.destory = true;
             this.callback.SSEventAction(this);
         }
     }
 }