Class PlayerInput.ActionEvent
Inherited Members
UnityEngine.Events.UnityEvent<UnityEngine.InputSystem.InputAction.CallbackContext>.AddListener(UnityEngine.Events.UnityAction<UnityEngine.InputSystem.InputAction.CallbackContext>)
UnityEngine.Events.UnityEvent<UnityEngine.InputSystem.InputAction.CallbackContext>.RemoveListener(UnityEngine.Events.UnityAction<UnityEngine.InputSystem.InputAction.CallbackContext>)
UnityEngine.Events.UnityEvent<UnityEngine.InputSystem.InputAction.CallbackContext>.FindMethod_Impl(System.String, System.Object)
UnityEngine.Events.UnityEvent<UnityEngine.InputSystem.InputAction.CallbackContext>.Invoke(UnityEngine.InputSystem.InputAction.CallbackContext)
UnityEngine.Events.UnityEventBase.UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize()
UnityEngine.Events.UnityEventBase.UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize()
UnityEngine.Events.UnityEventBase.AddListener(System.Object, System.Reflection.MethodInfo)
UnityEngine.Events.UnityEventBase.RemoveListener(System.Object, System.Reflection.MethodInfo)
UnityEngine.Events.UnityEventBase.Invoke(System.Object[])
UnityEngine.Events.UnityEventBase.ToString()
UnityEngine.Events.UnityEventBase.ValidateRegistration(System.Reflection.MethodInfo, System.Object, UnityEngine.Events.PersistentListenerMode)
UnityEngine.Events.UnityEventBase.ValidateRegistration(System.Reflection.MethodInfo, System.Object, UnityEngine.Events.PersistentListenerMode, System.Type)
UnityEngine.Events.UnityEventBase.RegisterPersistentListener(System.Int32, System.Object, System.Reflection.MethodInfo)
Namespace: UnityEngine.InputSystem
Syntax
[Serializable]
public class 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 |