Table of Contents

LoadSceneAdditive

Methods
public static IEnumerator LoadSceneAdditive(CoherenceBridge bridge, string scenePath, bool mergeScenes = true)

Helper method for loading scenes additively. The currently open scene will remain open. Any networked entities in the additively loaded scene will use the current bridge for networking.

Parameters
Type Name Description
CoherenceBridge bridge
string scenePath
bool mergeScenes

Optionally, the additively loaded scene can be merged into the currently open scene.

Returns
Type Description
IEnumerator
public static IEnumerator LoadSceneAdditive(CoherenceBridge bridge, int sceneBuildIndex, bool mergeScenes = false)

Helper method for loading scenes additively. The currently open scene will remain open. Any networked entities in the additively loaded scene will use the current bridge for networking.

Parameters
Type Name Description
CoherenceBridge bridge
int sceneBuildIndex
bool mergeScenes

Optionally, the additively loaded scene can be merged into the currently open scene.

Returns
Type Description
IEnumerator