Description
The SelectMode.Tiles
field is a member of the SelectMode
enumeration within the Editor.MapEditor
namespace. This field is used to specify the selection mode for grid tiles in the map editor. When this mode is active, the editor allows users to select and manipulate grid tiles within the map.
Usage
To use the SelectMode.Tiles
field, you need to set the selection mode of the map editor to Tiles
. This is typically done when you want to perform operations specifically on grid tiles, such as moving, resizing, or applying properties to them.
Example
// Example of setting the selection mode to Tiles in a map editor
Editor.MapEditor.SelectMode currentMode = Editor.MapEditor.SelectMode.Tiles;
// Assuming you have a method to set the selection mode in your map editor
mapEditor.SetSelectionMode(currentMode);