protected override Command BuildAction() { Vector2 newPos = m_WaypointManager.GetNextReactivePosition(m_Character.position); return(new ObstacleAvoidanceMovementCommand( m_Character, newPos, m_MovementHandler, m_FollowPathSpeed, m_ObstacleMask)); }
protected override Command BuildAction() { Vector2 newPos = m_WaypointManager.GetNextReactivePosition(m_Character.position); return(new ObstacleAvoidanceMovementCommand( m_Character, newPos, m_MovementHandler, m_FollowPathSpeed, m_ObstacleMask)); }