DelegateGUI Class

Summary

[Editor-Only] An Animancer.Editor.ICustomGUI for System.MulticastDelegate.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Interfaces
Base Types
graph BT Type-->Base0["CustomGUI<MulticastDelegate>"] Base0-->Base1["Object"] Type-.->Interface0["ICustomGUI"] click Interface0 "/animancer/api/Animancer.Editor/ICustomGUI" Type["DelegateGUI"] class Type type-node

Syntax

[CustomGUI(typeof(MulticastDelegate))]
public class DelegateGUI : CustomGUI<MulticastDelegate>, ICustomGUI

Attributes

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

Methods

Name Value Summary
CalculateHeight(MulticastDelegate) float
Calculates the number of vertical pixels required to draw the specified System.MulticastDelegate.
static
CalculateLineCount(Delegate[]) int
Calculates the number of lines required to draw the specified `invocationList`.
static
CalculateLineCount(MulticastDelegate) int
Calculates the number of lines required to draw the specified System.MulticastDelegate.
static
DoGUI() void
Draws the GUI for the Animancer.Editor.ICustomGUI.Value.
DoGUI(Rect, GUIContent, MulticastDelegate, GUIContent) void
Draws the GUI for the given delegate.
static
DoSingleGUI(Rect, Delegate) void
Draws the target and name of the specified System.Delegate.
static