예제 #1
0
 protected virtual void Update()
 {
     if (currentState != null)
     {
         ChangeStateIfNotNull(currentState.Update());
     }
 }
예제 #2
0
        private void Update()
        {
            currentState.Update(this);

            if (currentState.DifType != AIData.DifficultyType)
            {
                SelectState(AIData.DifficultyType);
            }
        }