NamedAnimancerComponentEditor Class

Summary

[Editor-Only] A custom Inspector for Animancer.NamedAnimancerComponents.
graph BT Type-->Base0["AnimancerComponentEditor"] click Base0 "/animancer-v7-4/api/Animancer.Editor/AnimancerComponentEditor" Base0-->Base1["BaseAnimancerComponentEditor"] click Base1 "/animancer-v7-4/api/Animancer.Editor/BaseAnimancerComponentEditor" Base1-->Base2["Editor"] Type["NamedAnimancerComponentEditor"] class Type type-node

Syntax

[CustomEditor(typeof(NamedAnimancerComponent), true), CanEditMultipleObjects]
public class NamedAnimancerComponentEditor : AnimancerComponentEditor

Attributes

Type Description
CustomEditor
CanEditMultipleObjects

Properties

Name Value Summary
Targets IAnimancerComponent[]
UnityEditor.Editor.targets casted to Animancer.IAnimancerComponent.

Methods

Name Value Summary
DoOtherFieldsGUI() void
Draws the rest of the Inspector fields after the Animator field.
DoOverridePropertyGUI(string, SerializedProperty, GUIContent) bool
[Editor-Only] Draws any custom GUI for the `property`. The return value indicates whether the GUI should replace the regular call to UnityEditor.EditorGUILayout.PropertyField(UnityEditor.SerializedProperty,UnityEngine.GUILayoutOption[]) or not.
OnEnable() void
Initializes this UnityEditor.Editor.
OnInspectorGUI() void
Called by the Unity editor to draw the custom Inspector GUI elements.
RequiresConstantRepaint() bool
If we have only one object selected and are in Play Mode, we need to constantly repaint to keep the Inspector up to date with the latest details.