docs.unity.cn
    Show / Hide Table of Contents

    Class PlayerInput.ActionEvent

    Inheritance
    Object
    PlayerInput.ActionEvent
    Namespace: UnityEngine.InputSystem
    Syntax
    public class ActionEvent : UnityEvent<InputAction.CallbackContext>

    Constructors

    ActionEvent()

    Declaration
    public ActionEvent()

    ActionEvent(Guid, String)

    Declaration
    public ActionEvent(Guid actionGUID, string name = null)
    Parameters
    Type Name Description
    Guid actionGUID
    String name

    ActionEvent(InputAction)

    Declaration
    public ActionEvent(InputAction action)
    Parameters
    Type Name Description
    InputAction action

    Properties

    actionId

    Declaration
    public string actionId { get; }
    Property Value
    Type Description
    String

    actionName

    Declaration
    public string actionName { get; }
    Property Value
    Type Description
    String
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, September 9, 2021