EyeTrackingDemoUtils.LoadNewScene Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LoadNewScene(String) |
Loads a Unity scene with the given name. |
LoadNewScene(String, Single) |
Loads a Unity scene with the given name after a given delay in seconds. |
LoadNewScene(String)
Loads a Unity scene with the given name.
public:
static System::Collections::IEnumerator ^ LoadNewScene(System::String ^ sceneToBeLoaded);
public static System.Collections.IEnumerator LoadNewScene (string sceneToBeLoaded);
static member LoadNewScene : string -> System.Collections.IEnumerator
Public Shared Function LoadNewScene (sceneToBeLoaded As String) As IEnumerator
Parameters
- sceneToBeLoaded
- String
Name of the scene to be loaded.
Returns
Applies to
LoadNewScene(String, Single)
Loads a Unity scene with the given name after a given delay in seconds.
public:
static System::Collections::IEnumerator ^ LoadNewScene(System::String ^ sceneToBeLoaded, float delayInSeconds);
public static System.Collections.IEnumerator LoadNewScene (string sceneToBeLoaded, float delayInSeconds);
static member LoadNewScene : string * single -> System.Collections.IEnumerator
Public Shared Iterator Function LoadNewScene (sceneToBeLoaded As String, delayInSeconds As Single) As IEnumerator
Parameters
- sceneToBeLoaded
- String
Name of the scene to be loaded.
- delayInSeconds
- Single
Delay in seconds to wait before loading the new scene.