Click or drag to resize

IModScenesLoadAsync Method (Int32, Boolean)

Attempts to load a scene with the specified name or path from the mod asynchronously. Note that if the scene is not found then this method does nothing. You can use [!:Exists(int)] before calling this method to ensure that the scene will be loaded.

Namespace:  UMod
Assembly:  UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
ModAsyncOperation LoadAsync(
	int sceneID,
	bool additive = false
)

Parameters

sceneID
Type: SystemInt32
The id of the scene to load
additive (Optional)
Type: SystemBoolean
Should the scene be loaded additivley

Return Value

Type: ModAsyncOperation
An awaitable ModAsyncOperation object containing progress and status information>
See Also