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

    Class DebugUI.Container

    Base class for "container" type widgets, although it can be used on its own (if a display name is set then it'll behave as a group with a header)

    Inheritance
    Object
    DebugUI.Widget
    DebugUI.Container
    DebugUI.Foldout
    DebugUI.HBox
    DebugUI.Table
    DebugUI.VBox
    Inherited Members
    DebugUI.Widget.m_Panel
    DebugUI.Widget.m_Parent
    DebugUI.Widget.parent
    DebugUI.Widget.flags
    DebugUI.Widget.displayName
    DebugUI.Widget.queryPath
    DebugUI.Widget.isEditorOnly
    DebugUI.Widget.isRuntimeOnly
    DebugUI.Widget.isInactiveInEditor
    Namespace: UnityEngine.Rendering
    Syntax
    public class Container : DebugUI.Widget, DebugUI.IContainer

    Constructors

    Container()

    Constructor

    Declaration
    public Container()

    Container(String, ObservableList<DebugUI.Widget>)

    Constructor.

    Declaration
    public Container(string displayName, ObservableList<DebugUI.Widget> children)
    Parameters
    Type Name Description
    String displayName

    Display name of the container.

    ObservableList<DebugUI.Widget> children

    List of attached children.

    Properties

    children

    List of children.

    Declaration
    public ObservableList<DebugUI.Widget> children { get; }
    Property Value
    Type Description
    ObservableList<DebugUI.Widget>
    Implements
    DebugUI.IContainer.children

    panel

    Panel the container is attached to.

    Declaration
    public override DebugUI.Panel panel { get; }
    Property Value
    Type Description
    DebugUI.Panel
    Overrides
    DebugUI.Widget.panel

    Methods

    GetHashCode()

    Returns the hash code of the widget.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the widget.

    Overrides
    DebugUI.Widget.GetHashCode()

    OnItemAdded(ObservableList<DebugUI.Widget>, ListChangedEventArgs<DebugUI.Widget>)

    Method called when a children is added.

    Declaration
    protected virtual void OnItemAdded(ObservableList<DebugUI.Widget> sender, ListChangedEventArgs<DebugUI.Widget> e)
    Parameters
    Type Name Description
    ObservableList<DebugUI.Widget> sender

    Sender widget.

    ListChangedEventArgs<DebugUI.Widget> e

    List of added children.

    OnItemRemoved(ObservableList<DebugUI.Widget>, ListChangedEventArgs<DebugUI.Widget>)

    Method called when a children is removed.

    Declaration
    protected virtual void OnItemRemoved(ObservableList<DebugUI.Widget> sender, ListChangedEventArgs<DebugUI.Widget> e)
    Parameters
    Type Name Description
    ObservableList<DebugUI.Widget> sender

    Sender widget.

    ListChangedEventArgs<DebugUI.Widget> e

    List of removed children.

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