docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SectionPropertyDrawer

    PropertyDrawer for TutorialContainer.Section.

    Inheritance
    object
    GUIDrawer
    PropertyDrawer
    SectionPropertyDrawer
    Inherited Members
    PropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent)
    PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent)
    PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
    PropertyDrawer.attribute
    PropertyDrawer.fieldInfo
    PropertyDrawer.preferredLabel
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Tutorials.Editor
    Assembly: Unity.Tutorials.Editor.dll
    Syntax
    [CustomPropertyDrawer(typeof(TutorialContainer.Section))]
    public class SectionPropertyDrawer : PropertyDrawer

    Methods

    CreatePropertyGUI(SerializedProperty)

    Creates the VisualElement representing the Tutorial Section.

    Declaration
    public override VisualElement CreatePropertyGUI(SerializedProperty property)
    Parameters
    Type Name Description
    SerializedProperty property

    The SerializedProperty that will be drawn.

    Returns
    Type Description
    VisualElement

    The VisualElement that represents the control.

    Overrides
    PropertyDrawer.CreatePropertyGUI(SerializedProperty)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)