MultiplayerLoadScene(Int32, Boolean) Method

Load a scene by index and move Multiplayer object and all Avatars to the new scene.

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public void LoadScene(
	int sceneId,
	bool spawnAvatarOnLoad = false
)

Parameters

sceneId  Int32
Build index of target scene.
spawnAvatarOnLoad  Boolean  (Optional)
Spawns your Avatar after scene is loaded if true.

See Also