Class PlayerInput.ActionEvent
Implements
Inherited Members
UnityEvent<InputAction.CallbackContext>.AddListener(UnityAction<InputAction.CallbackContext>)
UnityEvent<InputAction.CallbackContext>.RemoveListener(UnityAction<InputAction.CallbackContext>)
UnityEvent<InputAction.CallbackContext>.Invoke(InputAction.CallbackContext)
UnityEventBase.ToString()
Namespace: UnityEngine.InputSystem
Assembly: Unity.InputSystem.dll
Syntax
[Serializable]
public class PlayerInput.ActionEvent : UnityEvent<InputAction.CallbackContext>, ISerializationCallbackReceiver
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 |