docs.unity.cn
    Show / Hide Table of Contents

    Class ScriptableSettings<T>

    Based off of Unity's Internal ScriptableSingleton with UnityEditorInternal bits removed

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<T>
    ScriptableSettings<T>
    Inherited Members
    ScriptableSettingsBase<T>.k_HasCustomPath
    ScriptableSettingsBase<T>.s_Instance
    ScriptableSettingsBase<T>.Save(String)
    ScriptableSettingsBase<T>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    Namespace: Unity.XRTools.Utils
    Syntax
    public abstract class ScriptableSettings<T> : ScriptableSettingsBase<T> where T : ScriptableObject
    Type Parameters
    Name Description
    T

    The class being created

    Properties

    instance

    Retrieves a reference to the given settings class. Will load and initialize once, and cache for all future access.

    Declaration
    public static T instance { get; }
    Property Value
    Type Description
    T
    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use