Class TileMapEditorTool
This class is a Unity Tool that allows the user to visually edit GridPlacer maps. It affects the data in VoxelGrid.
Opening this tool will replace the selected GridPlacer's models with a simple voxel grid that can be edited by the user. See the manual pages for information on how to use the tool.
Inheritance
System.Object
TileMapEditorTool
Namespace: CarbideFunction.Wildtile.Editor
Syntax
public class TileMapEditorTool : EditorTool
Properties
toolbarIcon
Declaration
public override GUIContent toolbarIcon { get; }
Property Value
Type | Description |
---|---|
GUIContent |
Methods
OnActivated()
Declaration
public override void OnActivated()
OnToolGUI(EditorWindow)
Declaration
public override void OnToolGUI(EditorWindow window)
Parameters
Type | Name | Description |
---|---|---|
EditorWindow | window |
OnWillBeDeactivated()
Declaration
public override void OnWillBeDeactivated()
OpenTool()
Opens the tool if the editor is currently able to do so.
Calls to this method will be silently ignored if the user hasn't selected a GridPlacer, or if they have selected more than one object.
Declaration
public static void OpenTool()