Creates a new script code resource with the specified source code.
Optionaluuid: UUIDOptionalisInternalConstructor: booleanSets the source code contained in the resource.
Sets the declaration contained in the resource.
The flags for the code.
Returns a reference handle for this resource.
Determines whether the JavaScriptCode is compatible with the current engine version.
Determines if the resource is destroyed.
Returns the meta data of this resource.
Indicates the minimum major version of the engine required to load this JavaScript code.
Indicates the minimum minor version of the engine required to load this JavaScript code.
Name of the resource. Use primarily for easier identification and not important to the engine itself.
The JavaScriptCode class implements a Resource that contains cooked JavaScript game or editor code.