Click or drag to resize

IModAssetLoad Method (Boolean)

Attempts to load this IModAsset from the mod.

Namespace:  UMod
Assembly:  UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Object Load(
	bool allowCaching = true
)

Parameters

allowCaching (Optional)
Type: SystemBoolean
When true, if the asset has already been loaded then a cached instance will be returned to avoid reloading

Return Value

Type: Object
The loaded asset
Exceptions
ExceptionCondition
ModNotLoadedExceptionThe mod that owns the assets has been unloaded
See Also