Class GridBrushEditor
Inheritance
GridBrushEditor
Assembly: UnityEditor.dll
Syntax
[CustomEditor(typeof(GridBrush))]
public class GridBrushEditor : GridBrushEditorBase, IPreviewable, IToolModeOwner
Properties
|
Improve this Doc
View Source
brush
Declaration
public GridBrush brush { get; }
Property Value
|
Improve this Doc
View Source
validTargets
Declaration
public override GameObject[] validTargets { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
BoxFillPreview(GridLayout, GameObject, BoundsInt)
Declaration
public virtual void BoxFillPreview(GridLayout gridLayout, GameObject brushTarget, BoundsInt position)
Parameters
|
Improve this Doc
View Source
ClearPreview()
Declaration
public virtual void ClearPreview()
|
Improve this Doc
View Source
FloodFillPreview(GridLayout, GameObject, Vector3Int)
Declaration
public virtual void FloodFillPreview(GridLayout gridLayout, GameObject brushTarget, Vector3Int position)
Parameters
|
Improve this Doc
View Source
OnDisable()
Declaration
protected virtual void OnDisable()
|
Improve this Doc
View Source
OnEnable()
Declaration
protected virtual void OnEnable()
|
Improve this Doc
View Source
OnMouseLeave()
Declaration
public override void OnMouseLeave()
Overrides
|
Improve this Doc
View Source
Declaration
public override void OnPaintSceneGUI(GridLayout gridLayout, GameObject brushTarget, BoundsInt position, GridBrushBase.Tool tool, bool executing)
Parameters
Overrides
|
Improve this Doc
View Source
OnSelectionInspectorGUI()
Declaration
public override void OnSelectionInspectorGUI()
Overrides
|
Improve this Doc
View Source
Declaration
public override void OnToolDeactivated(GridBrushBase.Tool tool)
Parameters
Overrides
|
Improve this Doc
View Source
PaintPreview(GridLayout, GameObject, Vector3Int)
Declaration
public virtual void PaintPreview(GridLayout gridLayout, GameObject brushTarget, Vector3Int position)
Parameters
|
Improve this Doc
View Source
Declaration
public override void RegisterUndo(GameObject brushTarget, GridBrushBase.Tool tool)
Parameters
Overrides
Extension Methods