Haply::Inverse::Unity::Utilities::Singleton
Eine generische Singleton-Klasse für MonoBehaviour. Mehr...
Erbt von MonoBehaviour
Öffentliche Funktionen
| Name | |
|---|---|
| bool | Existiert() | 
Geschützte Funktionen
| Name | |
|---|---|
| virtuelle Leere | Erwachen() | 
| virtuelle Leere | OnEnable() | 
| virtuelle Leere | OnDisable() | 
| virtuelle Leere | OnDestroy() | 
| virtuelle Leere | OnApplicationQuit() | 
| virtuelle Leere | Aktualisierung() | 
Öffentliche Immobilien
| Name | |
|---|---|
| T | Instanz Ruft die Instanz der Singleton-Klasse ab. | 
Geschützte Eigenschaften
| Name | |
|---|---|
| bool | ApplicationIsQuitting | 
Detaillierte Beschreibung
template <T >
class Haply::Inverse::Unity::Utilities::Singleton;
Eine generische Singleton-Klasse für MonoBehaviour.
Parameter der Vorlage:
- T Typ der Singleton-Klasse.
Öffentliche Funktionen Dokumentation
Funktion Existiert
static bool Exists()
Geschützte Funktionen Dokumentation
Funktion Wachsam
virtual void Awake()
Reimplementiert von: Haply: :Inverse::Unity::DeviceMapper::Awake, Haply: :Inverse::Unity::EventDispatcher::Awake
Funktion OnEnable
virtual void OnEnable()
Neuimplementiert von: Haply: :Inverse::Unity::DeviceMapper::OnEnable
Funktion OnDisable
virtual void OnDisable()
Neuimplementiert von: Haply: :Inverse::Unity::DeviceMapper::OnDisable
Funktion OnDestroy
virtual void OnDestroy()
Neuimplementiert von: Haply: :Inverse::Unity::DeviceMapper::OnDestroy
Funktion OnApplicationQuit
virtual void OnApplicationQuit()
Funktion Update
virtual void Update()
Reimplementiert von: Haply: :Inverse::Unity::DeviceMapper::Update, Haply: :Inverse::Unity::EventDispatcher::Update
Dokumentation über öffentliches Eigentum
Eigenschaft Instanz
static T Instance;
Ruft die Instanz der Singleton-Klasse ab.
Geschütztes Eigentum Dokumentation
Eigenschaft ApplicationIsQuitting
static bool ApplicationIsQuitting;