Class 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 |