This is the old Animancer v7.4 documentation. Click here for the latest version.

EditableFieldDrawer.

OnEdit Event

Summary

The method to call when the "Edit" button is clicked.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
EditableFieldDrawer
Event Type
Action<SerializedProperty>

Syntax

public static event Action<SerializedProperty> OnEdit

Remarks

Set this in a custom editor before drawing the attributed field then clear it afterwards.