docs.unity3d.com
    Show / Hide Table of Contents

    Class TintBrushSmoothEditor

    The Brush Editor for a Tint Brush Smooth.

    Inheritance
    Object
    GridBrushEditorBase
    TintBrushSmoothEditor
    Inherited Members
    UnityEditor.Tilemaps.GridBrushEditorBase.OnPaintSceneGUI(UnityEngine.GridLayout, UnityEngine.GameObject, UnityEngine.BoundsInt, UnityEngine.GridBrushBase.Tool, System.Boolean)
    GridBrushEditorBase.OnSelectionInspectorGUI()
    UnityEditor.Tilemaps.GridBrushEditorBase.OnSelectionSceneGUI(UnityEngine.GridLayout, UnityEngine.GameObject)
    UnityEditor.Tilemaps.GridBrushEditorBase.OnSceneGUI(UnityEngine.GridLayout, UnityEngine.GameObject)
    GridBrushEditorBase.OnMouseLeave()
    GridBrushEditorBase.OnMouseEnter()
    UnityEditor.Tilemaps.GridBrushEditorBase.OnToolActivated(UnityEngine.GridBrushBase.Tool)
    UnityEditor.Tilemaps.GridBrushEditorBase.OnToolDeactivated(UnityEngine.GridBrushBase.Tool)
    UnityEditor.Tilemaps.GridBrushEditorBase.RegisterUndo(UnityEngine.GameObject, UnityEngine.GridBrushBase.Tool)
    UnityEditor.Tilemaps.GridBrushEditorBase.canChangeZPosition
    Namespace: UnityEditor.Tilemaps
    Syntax
    [CustomEditor(typeof(TintBrushSmooth))]
    public class TintBrushSmoothEditor : GridBrushEditorBase

    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
    GridBrushEditorBase.validTargets
    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()
    Overrides
    GridBrushEditorBase.OnPaintInspectorGUI()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023