Class ScriptableSettings<T> | Unity Reflect | 1.1.0-preview.6
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>
    ModuleLoaderCore
    ModuleLoaderDebugSettings
    DeviceInputModule
    Inherited Members
    ScriptableSettingsBase<T>.s_Instance
    ScriptableSettingsBase<T>.OnEnable()
    ScriptableSettingsBase<T>.Save(String)
    ScriptableSettingsBase<T>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    Namespace: Unity.Labs.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

    Methods

    CreateAndLoad()

    Declaration
    public static T CreateAndLoad()
    Returns
    Type Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX