S.A.P.S V0.4.0
A virtual reality stealth action game
 
Loading...
Searching...
No Matches
Singleton< T > Class Template Referenceabstract

A Generic singleton parent class which can be inherited from. Just keep in mind if you use Awake in the child class, you must call base.Awake() first (or after but probably first in most cases). More...

Inheritance diagram for Singleton< T >:
CoherencyBehaviour Contract NPCSpawner PauseManager

Protected Member Functions

virtual void Awake ()
 

Properties

static T Instance [get]
 

Detailed Description

A Generic singleton parent class which can be inherited from. Just keep in mind if you use Awake in the child class, you must call base.Awake() first (or after but probably first in most cases).

Template Parameters
T
Type Constraints
T :Singleton<T> 

Member Function Documentation

◆ Awake()

virtual void Singleton< T >.Awake ( )
protectedvirtual

Property Documentation

◆ Instance

T Singleton< T >.Instance
staticget

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