docs.unity.cn
    Show / Hide Table of Contents

    Class ScriptableSettingsPathAttribute

    Allows a class inheriting from ScriptableSettings<T> to specify that its instance Asset should be saved under "Assets/[Path]/Resources/ScriptableSettings/".

    Inheritance
    Object
    Attribute
    ScriptableSettingsPathAttribute
    Namespace: Unity.XR.CoreUtils
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class ScriptableSettingsPathAttribute : Attribute, _Attribute

    Constructors

    ScriptableSettingsPathAttribute(String)

    Initialize a new ScriptableSettingsPathAttribute

    Declaration
    public ScriptableSettingsPathAttribute(string path = "")
    Parameters
    Type Name Description
    String path

    The path where the ScriptableSettings should be stored

    Properties

    Path

    The path where this ScriptableSettings should be stored

    Declaration
    public string Path { get; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, December 12, 2022
    Terms of use