Table of Contents

Class MonoSingleton<T>

Namespace
Gasimo.Subtitles
Assembly
Gasimo.Subtitler.dll

Helper class to implement Singleton pattern into Subtitler

public abstract class MonoSingleton<T> : MonoBehaviour where T : Component

Type Parameters

T
Inheritance
Object
Component
Behaviour
MonoBehaviour
MonoSingleton<T>
Derived

Properties

Instance

Gets the instance.

public static T Instance { get; }

Property Value

T

The instance.

Methods

Awake()

Use this for initialization.

protected virtual void Awake()