docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IPartionableState<TStoreState>

    Interface to implement a store state that can be sliced.

    Inherited Members
    IPartionableState.Get<TSliceState>(string)
    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public interface IPartionableState<out TStoreState> : IPartionableState
    Type Parameters
    Name Description
    TStoreState

    The type of the store state.

    Methods

    Set<TSliceState>(string, TSliceState)

    Implementation of the method to set the slice state in the store state.

    Declaration
    TStoreState Set<TSliceState>(string sliceName, TSliceState sliceState)
    Parameters
    Type Name Description
    string sliceName

    The name of the slice.

    TSliceState sliceState

    c The slice state.

    Returns
    Type Description
    TStoreState

    The new store state.

    Type Parameters
    Name Description
    TSliceState

    The type of the slice state.

    Remarks

    It is important to note that this method should return a new instance of the store state to ensure immutability.

    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)