Project Arrhythmia
A video game developed by Vitamin Games.
Loading...
Searching...
No Matches
Bootstrapper Class Reference

A singleton class to ensure initialization routines run before the first scene loads. More...

+ Inheritance diagram for Bootstrapper:

Static Private Member Functions

static void InitAfter ()
 This is run before scene loading to ensure the correct scene is loaded when entering play mode.
 

Static Private Attributes

static readonly int sceneIndex = 0
 

Additional Inherited Members

- Public Attributes inherited from PersistentSingleton< Bootstrapper >
bool UnparentOnAwake
 
- Protected Member Functions inherited from PersistentSingleton< Bootstrapper >
virtual void Awake ()
 
virtual void InitializeSingleton ()
 
- Static Protected Attributes inherited from PersistentSingleton< Bootstrapper >
static T instance
 
- Properties inherited from PersistentSingleton< Bootstrapper >
static bool HasInstance [get]
 
static T Current [get]
 
static T Instance [get]
 

Detailed Description

A singleton class to ensure initialization routines run before the first scene loads.

This class is designed to be a persistent singleton that initializes certain settings or configurations before the first scene is loaded. It's particularly useful for setting up scenes or configurations that must be present throughout the application's lifecycle.

Note
This script is intended to be placed in your first scene included in the build settings.

The documentation for this class was generated from the following file: