Scriptable

Variables

Name

Type

Description

script

ScriptBase*

The script to use.

Notes

JSON for the .ntsn - Scene scene file format:

Name

Type

Description

Possible values

scriptable

Array of Object

The Scriptable Component.

Name

Type

Description

Possible values

scriptName

String

The name of the Script.

Any existing Script’s name.

editableVariables

Array of Object

The list of the script’s editable variables.

Any editable variables in the script.

When creating a Scriptable Component from a Script, it is recommended to use the Script’s createScript function.