Simple Poker Template 0.0.1
Loading...
Searching...
No Matches
SimplePoker.PersistentSingleton< T > Class Template Referenceabstract

This will survive through scene loads. More...

Inheritance diagram for SimplePoker.PersistentSingleton< T >:
SimplePoker.Singleton< T > SimplePoker.StaticInstance< T >

Protected Member Functions

override void Awake ()
 
- Protected Member Functions inherited from SimplePoker.Singleton< T >
override void Awake ()
 
- Protected Member Functions inherited from SimplePoker.StaticInstance< T >
virtual void OnApplicationQuit ()
 

Additional Inherited Members

- Properties inherited from SimplePoker.StaticInstance< T >
static T Instance [get]
 

Detailed Description

This will survive through scene loads.

Perfect for system classes which require stateful, persistent data. Or audio sources where music plays through loading screens, etc

Template Parameters
TThe type of the singleton MonoBehaviour.
Type Constraints
T :MonoBehaviour 

Member Function Documentation

◆ Awake()

override void SimplePoker.PersistentSingleton< T >.Awake ( )
protectedvirtual

Reimplemented from SimplePoker.StaticInstance< T >.


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