docs.unity3d.com
    目次を表示する/隠す

    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
    Syntax
    protected interface 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
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)