Search Results for

    Show / Hide Table of Contents

    Class ScriptableSingleton<T>

    Inheritance
    object
    Object
    ScriptableObject
    ScriptableSingleton<T>
    Configuration
    ScriptableDatabase
    Namespace: GGL.Singleton
    Assembly: GGL.dll
    Syntax
    public abstract class ScriptableSingleton<T> : ScriptableObject where T : ScriptableSingleton<T>
    Type Parameters
    Name Description
    T

    Properties

    | Edit this page View Source

    GlobalPath

    Declaration
    protected static string GlobalPath { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Instance

    Declaration
    public static T Instance { get; }
    Property Value
    Type Description
    T

    Access the singleton instance

    | Edit this page View Source

    ResourcesPath

    Declaration
    protected static string ResourcesPath { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Init()

    Init the scriptable once created. Called on reset as well.

    Declaration
    protected abstract void Init()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX