Class TintBrushSmoothEditor
The Brush Editor for a Tint Brush Smooth.
Inherited Members
Namespace: UnityEditor.Tilemaps
Syntax
[CustomEditor(typeof(TintBrushSmooth))]
public class TintBrushSmoothEditor : GridBrushEditorBase, IPreviewable, IToolModeOwner
Properties
brush
The TintBrushSmooth for this Editor
Declaration
public TintBrushSmooth brush { get; }
Property Value
Type | Description |
---|---|
TintBrushSmooth |
validTargets
Returns all valid targets that the brush can edit.
Declaration
public override GameObject[] validTargets { get; }
Property Value
Type | Description |
---|---|
GameObject[] |
Overrides
Remarks
Valid targets for the TintBrushSmooth are any GameObjects with a Tilemap component.
Methods
OnPaintInspectorGUI()
Callback for painting the inspector GUI for the TintBrushSmooth in the Tile Palette. The TintBrushSmooth Editor overrides this to have a custom inspector for this Brush.
Declaration
public override void OnPaintInspectorGUI()