CustomGUIFactory.

GetOrCreateForType(Type) Method

Summary

Returns an existing Animancer.Editor.ICustomGUI for the `targetType` or creates one if necessary.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
CustomGUIFactory

Syntax

public static ICustomGUI GetOrCreateForType(Type targetType)

Remarks

Returns null if the `targetType` is null or no valid Animancer.Editor.ICustomGUI type is found.

Parameters

Name Type Description
targetType Type

Return Value

Type Description
ICustomGUI