Summary
[Editor-Only] A context menu for selecting a
System.Type
.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["TypeSelectionMenu"]
class Type type-node
Syntax
public static class TypeSelectionMenu
Fields
Name | Constant Value | Summary |
---|---|---|
UseFullNames |
Should full type names be displayed?
static
|
|
UseTypeHierarchy |
Should options be grouped in sub menus based on their inheritance hierarchy?
static
|
|
Visualise |
Should shared references be shown in the GUI?
static
|
Methods
Name | Value | Summary |
---|---|---|
CopyCommonFields |
void |
Copies the values of all fields in `from` into corresponding fields in `to` as long as they have the same
name and compatible types.
static
|
GetDerivedTypes |
List |
Returns a list of all types that inherit from the `baseType`.
static
|
IsViableType |
bool |
Is the `type` supported by
UnityEngine.SerializeReference fields?static
|
Show |
void |
Shows a menu to select which type of object to assign to the `property`.
static
|