Class GridSelectionTool
Abstract class for Editor Tool used to handle a GridSelection.
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEditor.Tilemaps
Assembly: Unity.2D.Tilemap.Editor.dll
Syntax
public abstract class GridSelectionTool : EditorTool
Methods
HandleTool(ref Vector3, ref Quaternion, ref Vector3)
Handles the gizmo for the GridSelectionTool. Implement this the handle the gizmo for the GridSelectionTool.
Declaration
public abstract void HandleTool(ref Vector3 position, ref Quaternion rotation, ref Vector3 scale)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | Position of the GridSelection gizmo. |
Quaternion | rotation | Rotation of the GridSelection gizmo. |
Vector3 | scale | Scale of the GridSelection gizmo. |
OnToolGUI(EditorWindow)
Does the GUI for the GridSelectionTool for an EditorWindow.
Declaration
public override void OnToolGUI(EditorWindow window)
Parameters
Type | Name | Description |
---|---|---|
EditorWindow | window | EditorWindow which GUI is being done. |