switchsceneasync - eisclimber/ExPresS-XR GitHub Wiki
Method in RuntimeUtils
Switches the scene to the given index (if possible) and invokes a callback after completion.
public static void SwitchSceneAsync(int sceneIdx, Action callback)| Name | Description |
|---|---|
int sceneIdx |
The scene's index. Must be added to the BuildSetting to receive an index. |
System.Action callback |
The callback invoked after completing the AsyncLoad. Can be null. |