Engine API Reference - v2.6.1
    Preparing search index...

    Interface ScriptInitializationArgs

    interface ScriptInitializationArgs {
        app: AppBase;
        enabled?: boolean;
        entity: Entity;
    }
    Index

    Properties

    Properties

    app: AppBase

    The AppBase that is running the script.

    enabled?: boolean

    True if the script instance is in running state.

    entity: Entity

    The Entity that the script is attached to.