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.
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 |