NoveltyML reference > Resources > Script

<Script>

An script (file) resource.

See also: Scripting reference


Script attributes

Attribute Description
source Filename [Required]

Additionally, this asset type inherits all resource attributes.


source [string] (Required)

Filename of the script source file.

Example:
source = "Assets\Scripts\Hello world.as"



Example

<Script name="My script" source="Assets\Scripts\Hello world.as" />

Back to top