Class RequireActorAttribute
This attribute is used to check for if a script requires an Actor type.
Inheritance
System.Object
RequireActorAttribute
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public class RequireActorAttribute : Attribute
Constructors
RequireActorAttribute(Type, Boolean)
Initializes a new instance of the RequireActorAttribute class.
Declaration
public RequireActorAttribute(Type type, bool includeInheritedTypes = false)
Parameters
|
System.Type
type
The required type. |
|
System.Boolean
includeInheritedTypes
Whether to include inherited types. |
Fields
IncludeInheritedTypes
Whether to include inherited types.
Declaration
public bool IncludeInheritedTypes
Field Value
|
System.Boolean
|
RequiredType
The required type.
Declaration
public Type RequiredType
Field Value
|
System.Type
|