public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null, Object objectParam = null) { source.destroy = false; //先保留这个动作,如果是无限循环动作组合之后还需要使用 this.start++; if (this.start >= sequence.Count) { this.start = 0; if (repeat > 0) { repeat--; } if (repeat == 0) { this.destroy = true; this.callback.SSActionEvent(this); //重复执行 } } }
public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null, Object objectParam = null) { }