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["WeightedMaskLayersFadeDrawer"]-->Type click Derived0 "/animancer/api/Animancer.Editor/WeightedMaskLayersFadeDrawer" Derived1["AnimancerEventDispatcherDrawer"]-->Type click Derived1 "/animancer/api/Animancer.Editor/AnimancerEventDispatcherDrawer" Derived2["ObjectGUI<T>"]-->Type click Derived2 "/animancer/api/Animancer.Editor/ObjectGUI_1" Derived3["IntGUI"]-->Type click Derived3 "/animancer/api/Animancer.Editor/IntGUI" Derived4["LabelGUI"]-->Type click Derived4 "/animancer/api/Animancer.Editor/LabelGUI" Derived5["StringGUI"]-->Type click Derived5 "/animancer/api/Animancer.Editor/StringGUI" Derived6["AnimancerNodeDrawer<T>"]-->Type click Derived6 "/animancer/api/Animancer.Editor/AnimancerNodeDrawer_1" Derived7["ParameterGUI<TParameter>"]-->Type click Derived7 "/animancer/api/Animancer.Editor/ParameterGUI_1" Derived8["DelegateGUI"]-->Type click Derived8 "/animancer/api/Animancer.Editor/DelegateGUI" Derived9["FloatGUI"]-->Type click Derived9 "/animancer/api/Animancer.Editor/FloatGUI" Derived10["FadeGroupDrawer"]-->Type click Derived10 "/animancer/api/Animancer.Editor/FadeGroupDrawer"

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.