SystemTypeAttribute Class

Definition

Base class for class selection constraints that can be applied when selecting a SystemType with the Unity inspector.

public ref class SystemTypeAttribute abstract : UnityEngine::PropertyAttribute
public abstract class SystemTypeAttribute : UnityEngine.PropertyAttribute
type SystemTypeAttribute = class
    inherit PropertyAttribute
Public MustInherit Class SystemTypeAttribute
Inherits PropertyAttribute
Inheritance
UnityEngine.PropertyAttribute
SystemTypeAttribute
Derived

Constructors

SystemTypeAttribute(Type, TypeGrouping)

Constructor.

Properties

AllowAbstract

Gets or sets whether abstract classes can be selected from drop-down. Defaults to a value of false unless explicitly specified.

Grouping

Gets or sets grouping of selectable classes. Defaults to ByNamespaceFlat unless explicitly specified.

Methods

IsConstraintSatisfied(Type)

Determines whether the specified Type satisfies filter constraint.

Applies to