MultiplayerManagerLoadScene(Int32, Boolean) Method

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

Definition

Namespace: Alteruna.Multiplayer.Unity
Assembly: Alteruna.Multiplayer.Unity (in Alteruna.Multiplayer.Unity.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
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