{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method CreateAction | App UI | 0.6.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateAction

    CreateAction(string)

    Create a new Action. See Unity.AppUI.Redux.Action for more information.

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

    The type of the action.

    Returns
    Type Description
    ActionCreator

    A new Action.

    CreateAction<TPayload>(string)

    Create a new Action. See Unity.AppUI.Redux.Action<TPayload> for more information.

    Declaration
    public static ActionCreator<TPayload> CreateAction<TPayload>(string type)
    Parameters
    Type Name Description
    string type

    The type of the action.

    Returns
    Type Description
    ActionCreator<TPayload>

    A new Action.

    Type Parameters
    Name Description
    TPayload

    The type of the payload.

    CreateAction(string, Type)

    Create a new Action. See Unity.AppUI.Redux.Action<TPayload> for more information.

    Declaration
    public static ActionCreator CreateAction(string type, Type actionType)
    Parameters
    Type Name Description
    string type

    The type of the action.

    Type actionType

    The type of the action to instantiate.

    Returns
    Type Description
    ActionCreator

    A new Action.

    In This Article
    Back to top
    Copyright © 2023 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)