| { |
| "name": "ScriptAsset", |
| "key": { |
| "int": 529, |
| "string": "scriptasset" |
| }, |
| "extends": "assets/file_asset.json", |
| "properties": { |
| "codeFileId": { |
| "type": "Id", |
| "initialValue": "Core.missingId", |
| "initialValueRuntime": "-1", |
| "key": { |
| "int": 901, |
| "string": "codefileid" |
| }, |
| "description": "The codefile this ScriptAsset is backed by", |
| "runtime": false, |
| "journal": false |
| }, |
| "recentlyEditedIndex": { |
| "type": "FractionalIndex", |
| "key": { |
| "int": 840, |
| "string": "recentlyeditedindex" |
| }, |
| "runtime": false, |
| "coop": false, |
| "journal": false |
| }, |
| "generatorFunctionRef": { |
| "type": "uint", |
| "initialValue": "0", |
| "key": { |
| "int": 893, |
| "string": "generatorfunctionref" |
| }, |
| "description": "The ref of the generator function (the function returned by the compiled code).", |
| "coop": false, |
| "exportsToRuntimeConditionally": true, |
| "journal": false |
| }, |
| "isModule": { |
| "type": "bool", |
| "initialValue": "false", |
| "key": { |
| "int": 914, |
| "string": "ismodule" |
| }, |
| "description": "Whether the script is a module (doesn't implement a protocol like Node, Layout, etc." |
| }, |
| "folderPath": { |
| "type": "String", |
| "initialValue": "''", |
| "key": { |
| "int": 926, |
| "string": "folderpath" |
| }, |
| "description": "Asset panel folder hierarchy that this ScriptAsset exists in. This is also used as the namespace for the Script when registering it" |
| }, |
| "dependencyIds": { |
| "type": "List<Id>", |
| "initialValue": "[]", |
| "key": { |
| "int": 927, |
| "string": "dependencyids" |
| }, |
| "description": "Ids of any scripts this script requires", |
| "runtime": false |
| } |
| } |
| } |