docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ScriptableSettingsBase<T>

    Base class for ScriptableSettings.

    Inheritance
    object
    Object
    ScriptableObject
    ScriptableSettingsBase
    ScriptableSettingsBase<T>
    EditorScriptableSettings<T>
    ScriptableSettings<T>
    Inherited Members
    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, bool)
    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, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    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
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.XR.CoreUtils
    Assembly: Unity.XR.CoreUtils.dll
    Syntax
    public abstract class ScriptableSettingsBase<T> : ScriptableSettingsBase where T : ScriptableObject
    Type Parameters
    Name Description
    T

    The implementing type of ScriptableSettings.

    Constructors

    ScriptableSettingsBase()

    Initialize a new ScriptableSettingsBase.

    Declaration
    protected ScriptableSettingsBase()

    Fields

    BaseInstance

    Singleton instance field.

    Declaration
    protected static T BaseInstance
    Field Value
    Type Description
    T

    HasCustomPath

    Reports whether the class inheriting from ScriptableSettingsBase has a ScriptableSettingsPathAttribute defining a custom path for the asset.

    Declaration
    protected static readonly bool HasCustomPath
    Field Value
    Type Description
    bool

    Methods

    GetFilePath()

    Get the filename for this ScriptableSettings.

    Declaration
    protected static string GetFilePath()
    Returns
    Type Description
    string

    The filename.

    Save(string)

    Save this ScriptableSettings to an asset.

    Declaration
    protected static void Save(string savePathFormat)
    Parameters
    Type Name Description
    string savePathFormat

    Format string for creating the path of the asset.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)