Method LoadScene
LoadScene(string, LoadSceneMode)
Server side: Loads the scene name in either additive or single loading mode. When applicable, the AsyncOperation is delivered within the SceneEvent via OnSceneEvent
Declaration
public SceneEventProgressStatus LoadScene(string sceneName, LoadSceneMode loadSceneMode)
Parameters
Type | Name | Description |
---|---|---|
string | sceneName | the name of the scene to be loaded |
LoadSceneMode | loadSceneMode | how the scene will be loaded (single or additive mode) |
Returns
Type | Description |
---|---|
SceneEventProgressStatus | SceneEventProgressStatus (Started means it was successful) |