Combination of AVR_Component with a singleton. More...
Public Member Functions | |
virtual void | OnApplicationQuit () |
Public Member Functions inherited from AVR.Core.AVR_Behaviour | |
virtual void | OnDestroy () |
Protected Member Functions | |
override void | Awake () |
Protected Member Functions inherited from AVR.Core.AVR_Component | |
virtual void | Start () |
virtual void | OnEnable () |
virtual void | OnDisable () |
Properties | |
static T | Instance [get, set] |
Private Member Functions | |
void | SetInstance () |
Static Private Attributes | |
static T | _Instance |
Additional Inherited Members | |
Public Attributes inherited from AVR.Core.AVR_Component | |
UnityEngine.Events.UnityEvent | onAwake |
Events called when this component awakes. More... | |
UnityEngine.Events.UnityEvent | onStart |
Events called when this component starts. More... | |
UnityEngine.Events.UnityEvent | onEnable |
Events called when this component is enabled. More... | |
UnityEngine.Events.UnityEvent | onDisable |
Events called when this component is disabled. More... | |
Protected Attributes inherited from AVR.Core.AVR_Behaviour | |
AVR_PlayerRig | playerRig => AVR_PlayerRig.Instance |
The current AVR_PlayerRig instance in the scene More... | |
AVR_Root | root => AVR_Root.Instance |
The current AVR_Root instance in the scene More... | |
bool | vrEnabled => UnityEngine.XR.XRSettings.enabled |
True if the application is running as a VR/XR application More... | |
Combination of AVR_Component with a singleton.
T | Type of the Singleton. Should correspond to the class deriving from this. Example: class Example : AVR_SingletonComponent<Example> |
T | : | MonoBehaviour |
Definition at line 10 of file AVR_SingletonComponent.cs.