Edit

Share via


EyeTrackingDemoUtils.LoadNewScene Method

Definition

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.

Returns

Applies to