示例#1
0
 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();
         }
     }
 }
示例#2
0
 protected override void StartCore()
 {
     base.StartCore();
     CurrentWork.Start();
 }