Click or drag to resize

IModAsset Methods

Methods
  NameDescription
Public methodInstantiate
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.
Public methodInstantiate(Vector3, Quaternion)
Attempts to load this IModAsset and then create an instance of the object with the specified position and rotation. Combines the behaviour of an asset load request and instantiate call into one for ease of use
Public methodInstantiateT
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
Public methodInstantiateT(Vector3, Quaternion)
Attempts to load this IModAsset and then create an instance of the object with the specified position and rotation. Combines the behaviour of an asset load request and instantiate call into one for ease of use
Public methodLoad(Boolean)
Attempts to load this IModAsset from the mod.
Public methodLoadT(Boolean)
Attempts to load this IModAsset from the mod as the specified generic type.
Public methodLoadAsync(Boolean)
Attempts to load this IModAsset from the mod asynchronously. This method returns a ModAsyncOperation object which is yieldable and containg information about the loading progress and status.
Public methodLoadAsyncT(Boolean)
Attempts to load this IModAsset from the mod asynchronously. This method returns a ModAsyncOperation object which is yieldable and containg information about the loading progress and status.
Public methodLoadWithSubAssets(Boolean)
Attempts to load this IModAsset with all associated sub assets. The main asset will be loaded into AssetObject and the return value is an array of sub assets.
Public methodLoadWithSubAssetsT(Boolean)
Attempts to load this IModAsset with all associated sub assets. The main asset will be loaded into AssetObject and the return value is an array of sub assets. This overload will only return assets that are of the specified generic type such as 'Mesh'.
Public methodLoadWithSubAssetsAsync(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.
Public methodLoadWithSubAssetsAsyncT(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.
Top
See Also