docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawSectionHeader

    DrawSectionHeader(GUIContent, string, Action<Vector2>, Func<bool>, Action)

    Draw a header section like in Global Settings

    Declaration
    public static void DrawSectionHeader(GUIContent title, string documentationURL = null, Action<Vector2> contextAction = null, Func<bool> hasMoreOptions = null, Action toggleMoreOptions = null)
    Parameters
    Type Name Description
    GUIContent title

    The title of the header

    string documentationURL

    Documentation URL

    Action<Vector2> contextAction

    The context action

    Func<bool> hasMoreOptions

    Delegate saying if we have MoreOptions

    Action toggleMoreOptions

    Callback called when the MoreOptions is toggled

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)