docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor UserSettingAttribute

    UserSettingAttribute()

    Register a static field as a setting. Field must be of a type implementing IUserSetting.

    Declaration
    public UserSettingAttribute()

    UserSettingAttribute(string, string, string)

    Register a static field as a setting and create an entry in the UI. Field must be of a type implementing IUserSetting.

    Declaration
    public UserSettingAttribute(string category, string title, string tooltip = null)
    Parameters
    Type Name Description
    string category
    string title
    string tooltip
    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)