ScriptComponent: {
    enabled: boolean;
    order: string[];
    scripts: {
        [key: string]: { attributes: { [key: string]: any }; enabled: boolean };
    };
}

Script Component Properties.

Type declaration

  • enabled: boolean

    Whether the component is enabled.

    true
    
  • order: string[]

    An array of script names in the order they should be executed at runtime.

    []
    
  • scripts: { [key: string]: { attributes: { [key: string]: any }; enabled: boolean } }

    A dictionary containing all scripts attached to this component, indexed by script name.