CustomGUI<T> Class

Summary

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

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.