MMFeedbacks  v1.6
Protected Member Functions | Static Protected Attributes | Properties | List of all members
MoreMountains.Tools.MMSingleton< T > Class Template Reference

Singleton pattern. More...

Inheritance diagram for MoreMountains.Tools.MMSingleton< T >:

Protected Member Functions

virtual void Awake ()
 On awake, we initialize our instance. Make sure to call base.Awake() in override if you need awake. More...
 

Static Protected Attributes

static T _instance
 

Properties

static T Instance [get]
 Singleton design pattern More...
 

Detailed Description

Singleton pattern.

Type Constraints
T :Component 

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.MMSingleton< T >.Awake ( )
protectedvirtual

On awake, we initialize our instance. Make sure to call base.Awake() in override if you need awake.

Member Data Documentation

◆ _instance

T MoreMountains.Tools.MMSingleton< T >._instance
staticprotected

Property Documentation

◆ Instance

T MoreMountains.Tools.MMSingleton< T >.Instance
staticget

Singleton design pattern

The instance.


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