docs.unity3d.com
    Show / Hide Table of Contents

    Class PrefabRandomBrush.PrefabRandomBrushEditor

    The Brush Editor for a Prefab Brush.

    Inheritance
    Object
    GridBrushEditorBase
    GridBrushEditor
    BasePrefabBrushEditor
    PrefabRandomBrush.PrefabRandomBrushEditor
    Inherited Members
    BasePrefabBrushEditor.m_SerializedObject
    GridBrushEditor.OnDisable()
    UnityEditor.Tilemaps.GridBrushEditor.OnPaintSceneGUI(UnityEngine.GridLayout, UnityEngine.GameObject, UnityEngine.BoundsInt, UnityEngine.GridBrushBase.Tool, System.Boolean)
    GridBrushEditor.OnSelectionInspectorGUI()
    UnityEditor.Tilemaps.GridBrushEditor.OnSelectionSceneGUI(UnityEngine.GridLayout, UnityEngine.GameObject)
    GridBrushEditor.OnMouseLeave()
    UnityEditor.Tilemaps.GridBrushEditor.OnToolDeactivated(UnityEngine.GridBrushBase.Tool)
    UnityEditor.Tilemaps.GridBrushEditor.RegisterUndo(UnityEngine.GameObject, UnityEngine.GridBrushBase.Tool)
    UnityEditor.Tilemaps.GridBrushEditor.PaintPreview(UnityEngine.GridLayout, UnityEngine.GameObject, UnityEngine.Vector3Int)
    UnityEditor.Tilemaps.GridBrushEditor.BoxFillPreview(UnityEngine.GridLayout, UnityEngine.GameObject, UnityEngine.BoundsInt)
    UnityEditor.Tilemaps.GridBrushEditor.FloodFillPreview(UnityEngine.GridLayout, UnityEngine.GameObject, UnityEngine.Vector3Int)
    GridBrushEditor.ClearPreview()
    GridBrushEditor.brush
    UnityEditor.Tilemaps.GridBrushEditor.canChangeZPosition
    GridBrushEditor.validTargets
    UnityEditor.Tilemaps.GridBrushEditorBase.OnSceneGUI(UnityEngine.GridLayout, UnityEngine.GameObject)
    GridBrushEditorBase.OnMouseEnter()
    UnityEditor.Tilemaps.GridBrushEditorBase.OnToolActivated(UnityEngine.GridBrushBase.Tool)
    Namespace: UnityEditor.Tilemaps
    Syntax
    [CustomEditor(typeof(PrefabRandomBrush))]
    public class PrefabRandomBrushEditor : BasePrefabBrushEditor

    Methods

    OnEnable()

    OnEnable for the PrefabRandomBrushEditor

    Declaration
    protected override void OnEnable()
    Overrides
    BasePrefabBrushEditor.OnEnable()

    OnPaintInspectorGUI()

    Callback for painting the inspector GUI for the PrefabBrush in the Tile Palette. The PrefabBrush Editor overrides this to have a custom inspector for this Brush.

    Declaration
    public override void OnPaintInspectorGUI()
    Overrides
    BasePrefabBrushEditor.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