public void AddExecutorNoUpdate(CExecutor childExecutor) { if (!childExecutor.IsPlaying()) { base.AddExecutor(childExecutor); // 运行模式下动态插入 if (this.ExeState == eExeState.Exe_Running) { childExecutor.Play(); } } }
public override void AddExecutor(CExecutor childExecutor) { if (!childExecutor.IsPlaying()) { base.AddExecutor(childExecutor); // 运行模式下动态插入 if (this.ExeState == eExeState.Exe_Running) { childExecutor.Play(); //childExecutor.Update(this.currentTime - this.StartTime); } } else { //TODO } }
protected override bool updateImp(float fDeltaTime) { bool bOver = false; if (IsPlaying()) { if (null != mCurExecutor) { mCurExecutor.Update(fDeltaTime); if (!mCurExecutor.IsPlaying()) { bOver = true; #if DEBUG && !PROFILER /// Debug.Log("当前执行器结束"); #endif } } } return(bOver); }