docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ConnectionEditor.IToolbarUI

    Represents a toolbar for the list of Connections in the top/left pane of ConnectionsWindow. The styling and logic can be extended by modifying its elements directly, for example:

    myToolbar.Root.styleSheets.Add(myStyleSheet);
    myToolbar.Indicator.AddToClassList(MyClassNames.Pending);
    myToolbar.Menu.menu.AppendAction("MyAction", myAction);
    Namespace: Unity.LiveCapture.Editor
    Assembly: Unity.LiveCapture.Editor.dll
    Syntax
    protected interface ConnectionEditor.IToolbarUI

    Properties

    Indicator

    The run status indicator.

    Declaration
    VisualElement Indicator { get; }
    Property Value
    Type Description
    VisualElement

    Menu

    Extensible menu.

    Declaration
    ToolbarMenu Menu { get; }
    Property Value
    Type Description
    ToolbarMenu

    Root

    The root element of the toolbar layout.

    Declaration
    VisualElement Root { get; }
    Property Value
    Type Description
    VisualElement

    Title

    The title of the connection.

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

    Toggle

    A toggle that starts/stops the connection based on its run state.

    Declaration
    Toggle Toggle { get; }
    Property Value
    Type Description
    Toggle
    In This Article
    Back to top
    Copyright © 2025 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)