PlayableAssetStateDrawer Class

Summary

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

Syntax

[CustomGUI(typeof(PlayableAssetState))]
public class PlayableAssetStateDrawer : AnimancerStateDrawer<PlayableAssetState>, 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.