docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor SettingsKeyAttribute

    SettingsKeyAttribute(string, SettingsScope)

    Register a field as a setting. This allows the UserSettingsProvider to reset it's value and display it's value in debugging modes.

    Declaration
    public SettingsKeyAttribute(string key, SettingsScope scope = SettingsScope.Project)
    Parameters
    Type Name Description
    string key

    The setting key.

    SettingsScope scope

    The scope in which this setting is serialized.

    In This Article
    Back to top
    Copyright © 2024 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)