Class InspectorService | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class InspectorService

    Inheritance
    System.Object
    InspectorService
    Namespace: Unity.UIWidgets.debugger
    Syntax
    public class InspectorService

    Constructors

    InspectorService(WindowAdapter)

    Declaration
    public InspectorService(WindowAdapter window)
    Parameters
    Type Name Description
    WindowAdapter window

    Fields

    selectionChanged

    Declaration
    public SelectionChanged selectionChanged
    Field Value
    Type Description
    SelectionChanged

    window

    Declaration
    public readonly WindowAdapter window
    Field Value
    Type Description
    WindowAdapter

    Properties

    active

    Declaration
    public bool active { get; }
    Property Value
    Type Description
    System.Boolean

    debugEnabled

    Declaration
    public bool debugEnabled { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    close()

    Declaration
    public void close()

    disposeGroup(String)

    Declaration
    public void disposeGroup(string groupName)
    Parameters
    Type Name Description
    System.String groupName

    getDetailsSubtree(InspectorInstanceRef, String)

    Declaration
    public DiagnosticsNode getDetailsSubtree(InspectorInstanceRef instanceRef, string groupName)
    Parameters
    Type Name Description
    InspectorInstanceRef instanceRef
    System.String groupName
    Returns
    Type Description
    DiagnosticsNode

    getProperties(InspectorInstanceRef, String)

    Declaration
    public List<DiagnosticsNode> getProperties(InspectorInstanceRef inspectorInstanceRef, string groupName)
    Parameters
    Type Name Description
    InspectorInstanceRef inspectorInstanceRef
    System.String groupName
    Returns
    Type Description
    System.Collections.Generic.List<DiagnosticsNode>

    getRootRenderObject(String)

    Declaration
    public DiagnosticsNode getRootRenderObject(string groupName)
    Parameters
    Type Name Description
    System.String groupName
    Returns
    Type Description
    DiagnosticsNode

    getRootWidget(String)

    Declaration
    public DiagnosticsNode getRootWidget(string groupName)
    Parameters
    Type Name Description
    System.String groupName
    Returns
    Type Description
    DiagnosticsNode

    getRootWidgetSummaryTree(String)

    Declaration
    public DiagnosticsNode getRootWidgetSummaryTree(string groupName)
    Parameters
    Type Name Description
    System.String groupName
    Returns
    Type Description
    DiagnosticsNode

    getSelection(DiagnosticsNode, WidgetTreeType, Boolean, String)

    Declaration
    public DiagnosticsNode getSelection(DiagnosticsNode previousSelection, WidgetTreeType treeType, bool localOnly, string groupName)
    Parameters
    Type Name Description
    DiagnosticsNode previousSelection
    WidgetTreeType treeType
    System.Boolean localOnly
    System.String groupName
    Returns
    Type Description
    DiagnosticsNode

    getShowInspect()

    Declaration
    public bool getShowInspect()
    Returns
    Type Description
    System.Boolean

    setSelection(InspectorInstanceRef, String)

    Declaration
    public bool setSelection(InspectorInstanceRef inspectorInstanceRef, string groupName)
    Parameters
    Type Name Description
    InspectorInstanceRef inspectorInstanceRef
    System.String groupName
    Returns
    Type Description
    System.Boolean

    setShowInspect(Boolean)

    Declaration
    public void setShowInspect(bool show)
    Parameters
    Type Name Description
    System.Boolean show
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023