CustomGUIFactory Class

Summary

[Editor-Only] Draws a custom GUI for an object.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CustomGUIFactory"] class Type type-node

Syntax

public static class CustomGUIFactory

Remarks

Every non-abstract type implementing this interface must have at least one Animancer.Editor.CustomGUIAttribute.

Methods

Name Value Summary
Create(Type) ICustomGUI
Creates an Animancer.Editor.ICustomGUI for the `targetType`.
static
GetOrCreateForObject(Object) ICustomGUI
Returns an existing Animancer.Editor.ICustomGUI for the `value` or creates one if necessary.
static
GetOrCreateForType(Type) ICustomGUI
Returns an existing Animancer.Editor.ICustomGUI for the `targetType` or creates one if necessary.
static
TryGetGUIType(Type, Type) bool
Tries to determine the valid Animancer.Editor.ICustomGUI type for drawing the `target`.
static