Class ComponentSingleton<T> | Addressables | 1.11.2
docs.unity.cn
    Show / Hide Table of Contents

    Class ComponentSingleton<T>

    Inheritance
    Object
    ComponentSingleton<T>
    DiagnosticEventCollectorSingleton
    Namespace: UnityEngine.ResourceManagement.Util
    Syntax
    public abstract class ComponentSingleton<T> : MonoBehaviour where T : ComponentSingleton<T>
    Type Parameters
    Name Description
    T

    Properties

    Exists

    Declaration
    public static bool Exists { get; }
    Property Value
    Type Description
    Boolean

    Instance

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

    Methods

    DestroySingleton()

    Declaration
    public static void DestroySingleton()

    GetGameObjectName()

    Declaration
    protected virtual string GetGameObjectName()
    Returns
    Type Description
    String
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX