docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IHudTab

    Represents a tab that can be registered in the ConnectorHud panel.

    Namespace: Unity.SimulationPro.Foundation
    Assembly: Unity.SimulationPro.Foundation.dll
    Syntax
    public interface IHudTab
    Remarks

    Register tabs using RegisterTab(IConnector, IHudTab, int). Use HudTabOrdering constants for the ordering index to control tab placement relative to built-in tabs.

    Properties

    Label

    Gets the display label shown on the tab button.

    Declaration
    string Label { get; }
    Property Value
    Type Description
    string

    Methods

    OnDeselected()

    Called when this tab is deselected in favor of another tab.

    Declaration
    void OnDeselected()

    OnGUI(ConnectorHud)

    Called every OnGUI frame while this tab is selected to draw its content.

    Declaration
    void OnGUI(ConnectorHud hud)
    Parameters
    Type Name Description
    ConnectorHud hud

    The owning ConnectorHud instance.

    OnSelected()

    Called when this tab becomes the selected tab.

    Declaration
    void OnSelected()
    In This Article
    Back to top
    Copyright © 2026 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)