Class RequireScriptAttribute
This attribute is used to check for if a script requires other script types.
Inheritance
System.Object
RequireScriptAttribute
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public class RequireScriptAttribute : Attribute
Constructors
RequireScriptAttribute(Type)
Initializes a new instance of the RequireScriptAttribute class.
Declaration
public RequireScriptAttribute(Type type)
Parameters
System.Type
type
The required type. |
RequireScriptAttribute(Type[])
Initializes a new instance of the RequireScriptAttribute class.
Declaration
public RequireScriptAttribute(Type[] types)
Parameters
System.Type[]
types
The required types. |
Fields
RequiredTypes
The required types.
Declaration
public Type[] RequiredTypes
Field Value
System.Type[]
|