CustomGUI<T> Class

Summary

[Editor-Only] Draws a custom GUI for an object.
graph BT Type-->Base0["Object"] Type-.->Interface0["ICustomGUI"] click Interface0 "/animancer/api/Animancer.Editor/ICustomGUI" Type["CustomGUI<T>"] class Type type-node Derived0["ObjectGUI<T>"]-->Type click Derived0 "/animancer/api/Animancer.Editor/ObjectGUI_1" Derived1["WeightedMaskLayersFadeDrawer"]-->Type click Derived1 "/animancer/api/Animancer.Editor/WeightedMaskLayersFadeDrawer" Derived2["AnimancerEventDispatcherDrawer"]-->Type click Derived2 "/animancer/api/Animancer.Editor/AnimancerEventDispatcherDrawer" Derived3["FloatGUI"]-->Type click Derived3 "/animancer/api/Animancer.Editor/FloatGUI" Derived4["AnimancerNodeDrawer<T>"]-->Type click Derived4 "/animancer/api/Animancer.Editor/AnimancerNodeDrawer_1" Derived5["ParameterGUI<TParameter>"]-->Type click Derived5 "/animancer/api/Animancer.Editor/ParameterGUI_1" Derived6["StringGUI"]-->Type click Derived6 "/animancer/api/Animancer.Editor/StringGUI" Derived7["FadeGroupDrawer"]-->Type click Derived7 "/animancer/api/Animancer.Editor/FadeGroupDrawer" Derived8["IntGUI"]-->Type click Derived8 "/animancer/api/Animancer.Editor/IntGUI" Derived9["LabelGUI"]-->Type click Derived9 "/animancer/api/Animancer.Editor/LabelGUI" Derived10["DelegateGUI"]-->Type click Derived10 "/animancer/api/Animancer.Editor/DelegateGUI"

Syntax

public abstract class CustomGUI<T> : ICustomGUI

Remarks

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

Type Parameters

Name Description
T

Properties

Name Value Summary
Label GUIContent
The optional label to draw in front of the field.
Value T
The object for which this GUI will be drawn.

Methods

Name Value Summary
DoGUI() void
Draws the GUI for the Animancer.Editor.ICustomGUI.Value.