docs.unity.cn
    Show / Hide Table of Contents

    Class ScriptableSettings<T>

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

    Inheritance
    Object
    Object
    ScriptableObject
    ScriptableSettingsBase
    ScriptableSettingsBase<T>
    ScriptableSettings<T>
    Inherited Members
    ScriptableSettingsBase<T>.HasCustomPath
    ScriptableSettingsBase<T>.BaseInstance
    ScriptableSettingsBase<T>.Save(String)
    ScriptableSettingsBase<T>.GetFilePath()
    ScriptableSettingsBase.PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.XR.CoreUtils
    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 © 2022 Unity Technologies
    Generated by DocFX
    on Monday, December 12, 2022
    Terms of use