Click or drag to resize

IModAssetInstantiate Method

Attempts to load this IModAsset and then create an instance of the object for use in game. Combines the behaviour of an asset load request and instantiate call into one for ease of use.

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

Return Value

Type: Object
An instance of the Object class representing the instantiated asset
Exceptions
ExceptionCondition
ModNotLoadedExceptionThe mod that owns the asset has been unloaded
See Also