LoadScene


Declaration

public sealed class LoadScene : MonoBehaviour

Description

Loads a scene using a specified set of options.

Properties

modeThe mode to use for loading the scene.
sceneThe name of the scene to load.
delayThe delay in seconds before loading the scene.
loadOnStartLoads the scene when the script starts.
asyncLoads the scene asyncronously in the background.

Methods

LoadLoads the scene using the settings provided in the script.
LoadImmediateLoads the scene using the settings provided in the script while ignoring any delay.