Class ScriptableSettingsProviderBase<T> | XR Tools Utilities | 1.0.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class ScriptableSettingsProviderBase<T>

    Base class for ScriptableSettingsProvider, which exposes a ScriptableSettings type as a settings provider

    Inheritance
    Object
    ScriptableSettingsProviderBase<T>
    ScriptableSettingsProvider<T>
    Namespace: Unity.XRTools.Utils.Internal
    Syntax
    public abstract class ScriptableSettingsProviderBase<T> : SettingsProvider where T : ScriptableSettingsBase<T>
    Type Parameters
    Name Description
    T

    The ScriptableSettings type which will be exposed

    Constructors

    ScriptableSettingsProviderBase(String, SettingsScope)

    Initialize a new ScriptableSettingsProviderBase

    Declaration
    protected ScriptableSettingsProviderBase(string path, SettingsScope scope)
    Parameters
    Type Name Description
    String path

    The path to this settings view within the Preferences or Project Settings window

    SettingsScope scope

    The scope of these settings

    Fields

    s_SerializedObject

    Cache field for serializedObject property

    Declaration
    protected static SerializedObject s_SerializedObject
    Field Value
    Type Description
    SerializedObject

    s_Target

    Cache field for target property

    Declaration
    protected static T s_Target
    Field Value
    Type Description
    T

    Methods

    GetSerializedSettings()

    Initialize this settings object and return a SerializedObject wrapping it

    Declaration
    protected static SerializedObject GetSerializedSettings()
    Returns
    Type Description
    SerializedObject

    The SerializedObject wrapper

    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