LoadSceneDelayed
Class in Zigurous.Utility
Declaration
public class LoadSceneDelayed : MonoBehaviour
Description
Loads a scene after a set delay.
Properties
mode | The mode to use for loading the scene. |
scene | The name of the scene to load. |
delay | The delay in seconds before loading the scene. |
loadOnStart | Loads the scene when the script starts. |
async | Loads the scene asyncronously in the background. |
Methods
Start | A Unity lifecycle method called the first frame the behavior is enabled. |
Load | Loads the scene using the settings provided in the script. |
LoadImmediate | Loads the scene using the settings provided in the script while ignoring the delay. |
LoadScene | Loads the scene synchronously. |
LoadSceneAsync | Loads the scene asynchronously. |