robot_2Generated
code_blocksInput

Description

The Nav field is a member of the SelectMode enumeration within the Editor.MapEditor namespace. It is used to specify the selection mode for nav mesh components in the map editor. This mode allows users to interact with and select elements related to navigation meshes, which are crucial for defining walkable areas and paths for AI navigation in a game environment.

Usage

To use the Nav selection mode, set the selection mode of the map editor to SelectMode.Nav. This will enable the selection of nav mesh components, allowing you to modify or inspect them as needed.

Example

// Example of setting the selection mode to Nav in a map editor context

// Assuming 'mapEditor' is an instance of a map editor class
mapEditor.CurrentSelectMode = SelectMode.Nav;

// Now the editor is in Nav selection mode, allowing interaction with nav mesh components.