示例#1
0
 void zombie_forward()
 {
     if ((r = MoveUtil.MoveByFrame(transform, nextPosition, moveSpeed)) == 0.0f)
     {
         transform.position = nextPosition;
         zombie_movement    = Zombie_Movement.zombie_forward_idle;
         _animator.SetInteger("zombie_movement", (int)zombie_movement);
         isMoving = false;
         //ManagerGame.zombieMove = false;
         isCalcued = false;
         return;
     }
 }