docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor UserSettingBlockAttribute

    UserSettingBlockAttribute(string)

    Register a static method for a callback in the UserSettingsProvider editor under a category.

    [UserSettingBlock("General")]
    static void GeneralSettings(string[] searchContext) {}
    Declaration
    public UserSettingBlockAttribute(string category)
    Parameters
    Type Name Description
    string category

    The title of the group of settings that this setting will be shown under.

    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)