LoadSceneDelayed


Declaration

public class LoadSceneDelayed : MonoBehaviour

Description

Loads a scene after a set delay.

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

StartA Unity lifecycle method called the first frame the behavior is enabled.
LoadLoads the scene using the settings provided in the script.
LoadImmediateLoads the scene using the settings provided in the script while ignoring the delay.
LoadSceneLoads the scene synchronously.
LoadSceneAsyncLoads the scene asynchronously.