docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ActionCreator

    An action creator.

    Inheritance
    object
    ActionCreator
    ActionCreator<TPayload>
    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
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public class ActionCreator

    Constructors

    ActionCreator(string)

    Creates a new action creator.

    Declaration
    public ActionCreator(string type)
    Parameters
    Type Name Description
    string type

    The type of the action.

    Properties

    type

    The type of the action. This is used to determine which reducer to call.

    Declaration
    public string type { get; }
    Property Value
    Type Description
    string

    Methods

    Invoke()

    Create the action to dispatch.

    Declaration
    public Action Invoke()
    Returns
    Type Description
    Action

    The action to dispatch.

    Match(Action)

    Check if the action matches the action creator.

    Declaration
    public bool Match(Action action)
    Parameters
    Type Name Description
    Action action

    The action creator.

    Returns
    Type Description
    bool

    True if the action matches the action creator.

    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)