addAsset method
Adds a single asset to the asset manager.
asset
- The asset to be added.
Returns the AssetManager instance after adding the asset.
Implementation
AssetManager addAsset(Asset asset) => assetManager.addAsset(asset);
Adds a single asset to the asset manager.
asset
- The asset to be added.
Returns the AssetManager instance after adding the asset.
AssetManager addAsset(Asset asset) => assetManager.addAsset(asset);