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

EditableFieldDrawer Class

Summary

[Editor-Only] A UnityEditor.PropertyDrawer which adds an "Edit" button to a field.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • PropertyDrawer
Derived Types
EditableFieldDrawer
PropertyDrawer

Syntax

public abstract class EditableFieldDrawer : PropertyDrawer

Events

Name Type Summary
OnEdit Action<SerializedProperty>
The method to call when the "Edit" button is clicked.
static

Methods