MultiplayerLoadScene(Int32, Boolean) Method
Load a scene by index and move Multiplayer object and all Avatars to the new scene.
Namespace: AlterunaAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
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.