docs.unity3d.com
    Show / Hide Table of Contents

    Class ScriptableSettingsBase

    Internal base for all scriptable settings that is easier to look up via-reflection. DO NOT USE THIS CLASS DIRECTLY - Use the generic version - ScriptableSettingsBase above

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<T>
    Namespace: Unity.XRTools.Utils.Internal
    Syntax
    public abstract class ScriptableSettingsBase : ScriptableObject

    Fields

    k_PathExceptionMessage

    Message to display when path is invalid

    Declaration
    protected const string k_PathExceptionMessage = null
    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
    • Fields
      • k_PathExceptionMessage
    • Methods
      • GetInstanceByType(Type)
      • OnLoaded()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023