JUtils
A unity utilities library
JUtils.SingletonBehaviour< T > Class Template Reference

Your simple and everyday singleton class More...

Inheritance diagram for JUtils.SingletonBehaviour< T >:
Collaboration diagram for JUtils.SingletonBehaviour< T >:

Protected Member Functions

virtual void Awake ()
 
virtual void OnDestroy ()
 

Properties

static T instance [get]
 
static bool exists [get]
 

Detailed Description

Your simple and everyday singleton class

Type Constraints
T :SingletonBehaviour<T> 

Member Function Documentation

◆ Awake()

virtual void JUtils.SingletonBehaviour< T >.Awake ( )
inlineprotectedvirtual

◆ OnDestroy()

virtual void JUtils.SingletonBehaviour< T >.OnDestroy ( )
inlineprotectedvirtual

Property Documentation

◆ exists

bool JUtils.SingletonBehaviour< T >.exists
staticget

◆ instance

T JUtils.SingletonBehaviour< T >.instance
staticget

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