Click or drag to resize

IModAssetsLoad Method (Int32)

Attempts to load an asset with the specified id from the mod. Note that this method will simply load the asset without creating an instance.

Namespace:  UMod
Assembly:  UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Object Load(
	int assetID
)

Parameters

assetID
Type: SystemInt32
The id of the asset to load

Return Value

Type: Object
A reference to the newly loaded object or null if the load failed
See Also