protected override void UpdateCore(float elapseSeconds, float realElapseSeconds) { if (CurrentWork.WorkStatus == WorkStatus.Running) { CurrentWork.Update(elapseSeconds, realElapseSeconds); } if (CurrentWork.WorkStatus == WorkStatus.Complete) { if (CurrentWorkIndex + 1 < Works.Count) { CurrentWorkIndex++; CurrentWork.Start(); } } }
protected override void StartCore() { base.StartCore(); CurrentWork.Start(); }