Creates a new script code resource with the specified source code.
Optionaluuid: UUIDOptionalisInternalConstructor: booleanSets the source code contained in the resource.
Indicates the major version of the engine that this resource was created at.
Indicates the minor version of the engine that this resource was created at.
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 whether the JavaScriptCode was created on an older 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.