IModAssetLoadWithSubAssetsAsync Method (Boolean) |
Attempts to load this
IModAsset with all associated sub assets from the mod asynchronously.
This method returns a
ModAsyncOperation object which is yieldable and containg information about the loading progress and status.
The main asset will be loaded into
AssetObject.
Namespace:
UMod
Assembly:
UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax ModAsyncOperation<Object[]> LoadWithSubAssetsAsync(
bool allowCaching = true
)
Parameters
- allowCaching (Optional)
- Type: SystemBoolean
When true, if the asset has already been loaded than a cached instance will be reused
Return Value
Type:
ModAsyncOperationObjectA yieldable
ModAsyncOperation object
Exceptions See Also