Class RotateTool
Tool for doing a rotate action with the Tile Palette
Inherited Members
Namespace: UnityEditor .Tilemaps
Assembly: Unity.2D.Tilemap.Editor.dll
Syntax
public abstract class RotateTool : TilemapEditorTool
Methods
OnToolGUI(EditorWindow)
Handles GUI for the RotateTool when the Tool is active
Declaration
public override void OnToolGUI(EditorWindow window)
Parameters
Type | Name | Description |
---|---|---|
Editor |
window | EditorWindow from which OnToolGUI is called. |
Overrides
Rotate(RotationDirection)
Handles rotation in the given direction when the RotateTool is activated
Declaration
protected void Rotate(GridBrushBase.RotationDirection direction)
Parameters
Type | Name | Description |
---|---|---|
Grid |
direction | Direction to rotate by |