Skip to content

switchsceneasync

eisclimber edited this page Apr 4, 2026 · 1 revision

RuntimeUtils.SwitchSceneAsync(int,Action)

Method in RuntimeUtils

Summary

Switches the scene to the given index (if possible) and invokes a callback after completion.

public static void SwitchSceneAsync(int sceneIdx, Action callback)

Parameters

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.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally