Class EditorScriptableSettings<T> | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Class EditorScriptableSettings<T>

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

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<T>
    EditorScriptableSettings<T>
    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 EditorScriptableSettings<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 © 2020 Unity Technologies
    Generated by DocFX