SerializedInterfaceAttribute
A class in Alta.Attributes, the global namespace.
Property attribute that marks a serialized field as holding an object that must implement a given interface, probably for an inspector picker.
- Listed in Other Alta assemblies
- Inherits or implements
PropertyAttribute
Constructors
| Member | What it is |
|---|---|
SerializedInterfaceAttribute(Type interfaceType) | Creates a SerializedInterfaceAttribute from interfaceType. |
Properties
| Member | What it is |
|---|---|
Type InterfaceType { get; private set; } | The required interface. Stays null if the type passed in isn't an interface. |