Click or drag to resize

IModScenesLoad Method (Int32, Boolean)

Attempts to load a scene with the specified name or path from the mod. 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#
void Load(
	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
See Also