docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ScriptableSettingsBase

    Base class for all scriptable settings that is easier to look up via-reflection.

    Inheritance
    object
    Object
    ScriptableObject
    ScriptableSettingsBase
    ScriptableSettingsBase<T>
    Inherited Members
    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 : ScriptableObject
    Remarks

    DO NOT USE THIS CLASS DIRECTLY - Use the generic version, ScriptableSettingsBase<T>.

    Fields

    PathExceptionMessage

    Message to display when path is invalid.

    Declaration
    protected const string PathExceptionMessage = "Exception caught trying to create path."
    Field Value
    Type Description
    string

    Methods

    GetInstanceByType(Type)

    Looks up the static 'Instance' property of the given ScriptableSettings.

    Declaration
    public static ScriptableSettingsBase GetInstanceByType(Type settingsType)
    Parameters
    Type Name Description
    Type settingsType

    The type that refers to a singleton class, which implements an 'Instance' property.

    Returns
    Type Description
    ScriptableSettingsBase

    The actual singleton instance of the specified class.

    OnLoaded()

    Function called when all scriptable settings are loaded and ready for use.

    Declaration
    protected virtual void OnLoaded()
    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)