ClipStateDrawer Class

Summary

[Editor-Only] Draws the Inspector GUI for an Animancer.AnimancerState.
graph BT Type-->Base0["AnimancerStateDrawer<ClipState>"] Base0-->Base1["AnimancerNodeDrawer<ClipState>"] Base1-->Base2["CustomGUI<ClipState>"] Base2-->Base3["Object"] Type-.->Interface0["ICustomGUI"] click Interface0 "/animancer/api/Animancer.Editor/ICustomGUI" Type["ClipStateDrawer"] class Type type-node

Syntax

[CustomGUI(typeof(ClipState))]
public class ClipStateDrawer : AnimancerStateDrawer<ClipState>, ICustomGUI

Remarks

Every non-abstract type inheriting from this class must have at least one Animancer.Editor.CustomGUIAttribute.

Attributes

Type Description
CustomGUIAttribute [Editor-Only] Attribute for classes which implement Animancer.Editor.CustomGUI`1 to specify the type of objects they apply to.

Properties

Name Value Summary
MainObjectName string
The display name of the Animancer.AnimancerState.MainObject field.

Methods

Name Value Summary
AddContextMenuFunctions(GenericMenu) void
Adds the details of this state to the `menu`.