Creates a new script code resource with the specified source code.
OptionalisInternalConstructor: booleanReturns a reference handle for this resource.
Determines if the code is extending the editor.
Returns the meta data of this resource.
Name of the resource. Use primarily for easier identification and not important to the engine itself.
Sets the source code contained in the resource.
Returns a universally unique identifier of this resource.
Duplicates the resource and creates a unique UUID for the duplicated resource.
The duplicated resource or null, if the duplication failed.
Virtual
Method called by RSX to perform actions required after the creation of the resource.
Forcefully unloads the resource.
The TypeScriptCode class implements a Resource that contains TypeScript game or editor source code.