logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class BoneIdRefDrawer

    Custom PropertyDrawer for BoneIdRef that provides dropdown selection of bone IDs. Searches for a ProceduralExpressionProfileSO in the same folder or parent folders to populate the dropdown with available bone IDs. Falls back to text field if no profile is found.

    Inheritance
    object
    BoneIdRefDrawer
    Namespace: Serenity.ProceduralExpression.Infrastructure.Editor
    Assembly: Serenity.UnityProceduralExpression.Infrastructure.Editor.dll
    Syntax
    public class BoneIdRefDrawer : PropertyDrawer

    Constructors

    BoneIdRefDrawer()

    Declaration
    public BoneIdRefDrawer()

    Methods

    OnGUI(Rect, SerializedProperty, GUIContent)

    Declaration
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    SerializedProperty property
    GUIContent label
    In this article
    © 2026 Serenity. All Rights Reserved