Skip to main content

Asset Reference

A value representing a 'pointer' to an asset that was loaded into a module.

This is used to reference fonts, cursors, sounds, and all other assets registered on a module excepts for textures.

The syntax is simply a quoted string optionally with a module reference.

If no module name is provided, the module that this style file belongs to is implicitly used.

If a module name is provided, the asset is resolved against that module.

Examples

style assets {
FontAsset = "Roboto";
Cursor = "ModuleName::WaitCursor";
}