Skip to content

AssetsService

Inherits Instance

Service for managing/loading assets

Static Class

This object is a static class. It can be accessed like this: Assets.

Additionally, it cannot be created in the creator menu or with Instance.New().

Not newable

This object cannot be created by scripts using Instance.New().

Methods

GetFileLinkByPath → FileLinkAsset

Parameters: path [ string ]

Retrieve FileLinkAsset with the specified path

GetFileLinkByID → FileLinkAsset

Parameters: id [ string ]

Retrieve FileLinkAsset with the specified ID