MultiplayerManagerLoadScene(Int32, Boolean) Method
Load a scene by index and move Multiplayer object and all Avatars to the new scene.
Namespace: Alteruna.Multiplayer.UnityAssembly: Alteruna.Multiplayer.Unity (in Alteruna.Multiplayer.Unity.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
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.