Class TransformIdRefDrawer
Custom PropertyDrawer for TransformIdRef that provides dropdown selection of transform IDs. Searches for a ProceduralExpressionProfileSO in the same folder or parent folders to populate the dropdown with available transform IDs. Falls back to text field if no profile is found or transform targets are empty.
Namespace: Serenity.ProceduralExpression.Infrastructure.Editor
Assembly: Serenity.UnityProceduralExpression.Infrastructure.Editor.dll
Syntax
public class TransformIdRefDrawer : PropertyDrawer
Constructors
TransformIdRefDrawer()
Declaration
public TransformIdRefDrawer()
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 |