Search Results for

    Show / Hide Table of Contents

    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[]

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    • Constructors
      • RequireScriptAttribute(Type)
      • RequireScriptAttribute(Type[])
    • Fields
      • RequiredTypes
    • Extension Methods
    Back to top Copyright © 2012-2024 Wojciech Figat