docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method OnGUI

    OnGUI(string)

    Use this function to draw the UI based on IMGUI. This assumes you haven't added any children to the rootElement passed to the OnActivate function.

    Declaration
    public override abstract void OnGUI(string searchContext)
    Parameters
    Type Name Description
    string searchContext

    Search context for the Settings window. Used to show or hide relevant properties.

    Overrides
    SettingsProvider.OnGUI(string)
    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)