docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DevToolsService

    A class that provides a set of tools for debugging and inspecting the state of the store.

    Inheritance
    object
    DevToolsService
    Implements
    IDevToolsService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Redux.DevTools
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public class DevToolsService : IDevToolsService

    Methods

    Connect(IInstrumentedStore)

    Connect the DevTools to a store.

    Declaration
    public void Connect(IInstrumentedStore store)
    Parameters
    Type Name Description
    IInstrumentedStore store

    The store to connect to.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if store is null.

    Disconnect(IInstrumentedStore)

    Disconnect the DevTools from a store.

    Declaration
    public void Disconnect(IInstrumentedStore store)
    Parameters
    Type Name Description
    IInstrumentedStore store

    The store to disconnect from.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if store is null.

    GetConnectedStores()

    Get the stores that the DevTools are connected to.

    Declaration
    public IInstrumentedStore[] GetConnectedStores()
    Returns
    Type Description
    IInstrumentedStore[]

    The stores that the DevTools are connected to.

    GetStoreById(string)

    Get a store by its ID if it is connected to the DevTools.

    Declaration
    public IInstrumentedStore GetStoreById(string id)
    Parameters
    Type Name Description
    string id

    The ID of the store.

    Returns
    Type Description
    IInstrumentedStore

    The store if it is connected to the DevTools; otherwise, null.

    Events

    connectedStoresChanged

    Event that is invoked when the connected stores change.

    Declaration
    public event Action connectedStoresChanged
    Event Type
    Type Description
    Action

    Implements

    IDevToolsService
    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)