The project assets. Systems get it in options.assets.
options.assets
The engine creates an Asset for every entry in assets of the configuration.
assets
const texture = this.assets.get(TEXTURE_ID, Texture); Copy
const texture = this.assets.get(TEXTURE_ID, Texture);
Returns an asset by its id.
Error If there is no asset with this id.
Returns an asset by its id and checks its class.
Error If there is no asset with this id, or it is not an instance of assetClass.
assetClass
Returns all assets.
Returns all assets of one class.
Checks if there is an asset with this id.
The project assets. Systems get it in
options.assets.The engine creates an Asset for every entry in
assetsof the configuration.Example