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