예제 #1
0
        protected override Command BuildAction()
        {
            Vector2 newPos = m_WaypointManager.GetNextReactivePosition(m_Character.position);

            return(new ObstacleAvoidanceMovementCommand(
                       m_Character,
                       newPos,
                       m_MovementHandler,
                       m_FollowPathSpeed,
                       m_ObstacleMask));
        }