示例#1
0
 public virtual void MachineUpdate(float deltaTime)
 {
     if (currentState.DoUpdate != null)
     {
         currentState.DoUpdate(deltaTime);
     }
 }
示例#2
0
 public virtual void MachineUpdate(float deltaTime)
 {
     timeInState += deltaTime;
     if (currentState.DoUpdate != null)
     {
         currentState.DoUpdate(deltaTime, owner);
     }
 }