IGameAssetsInstantiate Method (Int32) |
Attempts to instantiate an asset with the specified id.
The asset will be loaded before instantiation if necessary.
Namespace:
UMod
Assembly:
UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax Object Instantiate(
int assetID
)
Parameters
- assetID
- Type: SystemInt32
The id of the asset to instantiate
Return Value
Type:
ObjectAn instantiated asset or null if the asset could not be instantiated
See Also