Summary
[Editor-Only]
An assembly attribute for configuring how the
Animancer.Editor.PolymorphicDrawer
displays a particular type.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Attribute
graph BT
Type-->Base0["Attribute"]
Type["PolymorphicDrawerDetails"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class PolymorphicDrawerDetails : Attribute
Attributes
| Type | Description |
|---|---|
| Attribute |
Constructors
| Name | Summary |
|---|---|
| Polymorphic |
Creates a new Animancer.Editor.PolymorphicDrawerDetails. |
Fields
Properties
| Name | Value | Summary |
|---|---|---|
| SeparateHeader | bool |
Should the label and
Animancer.Editor.TypeSelectionButton
be drawn on a separate line before the field's regular GUI?
|
Methods
| Name | Value | Summary |
|---|---|---|
| Get |
Polymorphic |
Returns the
Animancer.Editor.PolymorphicDrawerDetails associated with the `obj` or any of its base types.
Returns null if none of them have any details.
static
|
| Get |
Polymorphic |
Returns the
Animancer.Editor.PolymorphicDrawerDetails associated with the `type` or any of its base types.
Returns null if none of them have any details.
static
|