MLAPI.SceneManagement.NetworkSceneManager
Main class for managing network scenes
#
Inherited MembersObject.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
#
Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
Methods#
AddRuntimeSceneName(String, UInt32)Adds a scene during runtime. The index is REQUIRED to be unique AND the same across all instances.
#
Declaration#
ParametersType | Name | Description |
---|---|---|
System.String | sceneName | Scene name. |
System.UInt32 | index | Index. |
#
SwitchScene(String)Switches to a scene with a given name. Can only be called from Server
#
Declaration#
ParametersType | Name | Description |
---|---|---|
System.String | sceneName | The name of the scene to switch to |
#
ReturnsType | Description |
---|---|
SceneSwitchProgress |
#
Events#
OnSceneSwitchedEvent that is invoked when the scene is switched
#
Declaration#
Event TypeType | Description |
---|---|
NetworkSceneManager.SceneSwitchedDelegate |
#
OnSceneSwitchStartedEvent that is invoked when a local scene switch has started
#
Declaration#
Event TypeType | Description |
---|---|
NetworkSceneManager.SceneSwitchStartedDelegate |