Files
Fishing2/Assets/Scripts/Fishing/PlayerInputControl.cs
2025-05-25 00:54:06 +08:00

2565 lines
128 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
// version 1.14.0
// from Assets/PlayerInputControl.inputactions
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;
namespace NBF
{
/// <summary>
/// Provides programmatic access to <see cref="InputActionAsset" />, <see cref="InputActionMap" />, <see cref="InputAction" /> and <see cref="InputControlScheme" /> instances defined in asset "Assets/PlayerInputControl.inputactions".
/// </summary>
/// <remarks>
/// This class is source generated and any manual edits will be discarded if the associated asset is reimported or modified.
/// </remarks>
/// <example>
/// <code>
/// using namespace UnityEngine;
/// using UnityEngine.InputSystem;
///
/// // Example of using an InputActionMap named "Player" from a UnityEngine.MonoBehaviour implementing callback interface.
/// public class Example : MonoBehaviour, MyActions.IPlayerActions
/// {
/// private MyActions_Actions m_Actions; // Source code representation of asset.
/// private MyActions_Actions.PlayerActions m_Player; // Source code representation of action map.
///
/// void Awake()
/// {
/// m_Actions = new MyActions_Actions(); // Create asset object.
/// m_Player = m_Actions.Player; // Extract action map object.
/// m_Player.AddCallbacks(this); // Register callback interface IPlayerActions.
/// }
///
/// void OnDestroy()
/// {
/// m_Actions.Dispose(); // Destroy asset object.
/// }
///
/// void OnEnable()
/// {
/// m_Player.Enable(); // Enable all actions within map.
/// }
///
/// void OnDisable()
/// {
/// m_Player.Disable(); // Disable all actions within map.
/// }
///
/// #region Interface implementation of MyActions.IPlayerActions
///
/// // Invoked when "Move" action is either started, performed or canceled.
/// public void OnMove(InputAction.CallbackContext context)
/// {
/// Debug.Log($"OnMove: {context.ReadValue&lt;Vector2&gt;()}");
/// }
///
/// // Invoked when "Attack" action is either started, performed or canceled.
/// public void OnAttack(InputAction.CallbackContext context)
/// {
/// Debug.Log($"OnAttack: {context.ReadValue&lt;float&gt;()}");
/// }
///
/// #endregion
/// }
/// </code>
/// </example>
public partial class @PlayerInputControl: IInputActionCollection2, IDisposable
{
/// <summary>
/// Provides access to the underlying asset instance.
/// </summary>
public InputActionAsset asset { get; }
/// <summary>
/// Constructs a new instance.
/// </summary>
public @PlayerInputControl()
{
asset = InputActionAsset.FromJson(@"{
""name"": ""PlayerInputControl"",
""maps"": [
{
""name"": ""Player"",
""id"": ""df70fa95-8a34-4494-b137-73ab6b9c7d37"",
""actions"": [
{
""name"": ""Move"",
""type"": ""Value"",
""id"": ""351f2ccd-1f9f-44bf-9bec-d62ac5c5f408"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""Look"",
""type"": ""Value"",
""id"": ""6b444451-8a00-4d00-a97e-f47457f736a8"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""Zoom"",
""type"": ""Value"",
""id"": ""98493329-ff99-4095-8e99-7661388f993a"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""Jump"",
""type"": ""Button"",
""id"": ""f1ba0d36-48eb-4cd5-b651-1c94a6531f70"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Run"",
""type"": ""Button"",
""id"": ""641cd816-40e6-41b4-8c3d-04687c349290"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Op1"",
""type"": ""Button"",
""id"": ""a6038f56-bd74-4372-a689-9d124cb9dce4"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Op2"",
""type"": ""Button"",
""id"": ""eb447b1a-6476-4171-b4f6-5829e89b7bb1"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SelectItem"",
""type"": ""Button"",
""id"": ""86ddb388-aafd-4894-ad60-548692875a44"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SelectBait"",
""type"": ""Button"",
""id"": ""580ad571-1c6f-4a92-b7ef-5ad070f39c37"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SelectFood"",
""type"": ""Button"",
""id"": ""ab97da75-1fc6-4078-8cd9-4f385acf6fb3"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""UseTorch"",
""type"": ""Button"",
""id"": ""b78e0e72-e07a-4eb1-bc15-5f5829362c66"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""UseTelescope"",
""type"": ""Button"",
""id"": ""337d2419-7c32-4034-8287-cb7ef2ddad9d"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""UseBrail"",
""type"": ""Button"",
""id"": ""c252c4a9-a2dc-4f0c-9643-e144c075ee48"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""AddBob"",
""type"": ""Button"",
""id"": ""9eb9dd0d-f826-42f4-aff7-c87e2e6f037e"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SubBob"",
""type"": ""Button"",
""id"": ""65665e2f-bf21-43f2-8b49-633cae84eb62"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""ToBag"",
""type"": ""Button"",
""id"": ""c2b64c66-782b-4ef6-a7cd-5010d18e501e"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Help"",
""type"": ""Button"",
""id"": ""35448d22-d762-4d1f-b7a4-a86d0fa63115"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Chat"",
""type"": ""Button"",
""id"": ""1d9a2ea1-7814-461d-b1bc-b9fd69821b4f"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Info"",
""type"": ""Button"",
""id"": ""c4d3c929-e81c-4b78-bd98-50fc5b7ff997"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Skill"",
""type"": ""Button"",
""id"": ""24ce9048-15be-4799-83a8-ab1889f7bf60"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""OpenBag"",
""type"": ""Button"",
""id"": ""40fa0fcf-5ae1-48ae-b333-3fb10fad6cc2"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Keepnet"",
""type"": ""Button"",
""id"": ""5636ef35-4a13-42bc-a9e0-15dfd2a952bd"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Make"",
""type"": ""Button"",
""id"": ""67a15925-6997-4904-858b-879e440b6e3e"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Map"",
""type"": ""Button"",
""id"": ""b84f3faa-ab54-448a-9362-c3950593ad77"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick1"",
""type"": ""Button"",
""id"": ""684b0dde-3f8f-4a88-9ecb-e0fb11de8f55"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick2"",
""type"": ""Button"",
""id"": ""318eb5e1-ef85-4d25-940c-207ca61a4f86"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick3"",
""type"": ""Button"",
""id"": ""97ed3871-2a0c-46bf-83bb-a4bad4d3d544"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick4"",
""type"": ""Button"",
""id"": ""a7b19131-f9dd-4f2a-b617-526856f6ae34"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick5"",
""type"": ""Button"",
""id"": ""41ac843b-c1a5-41fd-9b84-3c36bd6939e7"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick6"",
""type"": ""Button"",
""id"": ""a469cd36-0dca-4f9a-91c2-29c8e854d92c"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick7"",
""type"": ""Button"",
""id"": ""cbd4a3df-9c62-4090-87f0-167491afceb2"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick8"",
""type"": ""Button"",
""id"": ""e187691f-4928-4792-a356-11c571df6e8b"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Quick9"",
""type"": ""Button"",
""id"": ""79fdff4c-7c25-4970-9379-71e1c73534b0"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Use1"",
""type"": ""Button"",
""id"": ""5f9c0896-f98f-442f-b9f1-9f3ac33bcfde"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Use2"",
""type"": ""Button"",
""id"": ""6b94216d-9977-4d4a-ad3b-51e187da640e"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
}
],
""bindings"": [
{
""name"": """",
""id"": ""978bfe49-cc26-4a3d-ab7b-7d7a29327403"",
""path"": ""<Gamepad>/leftStick"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""WASD"",
""id"": ""00ca640b-d935-4593-8157-c05846ea39b3"",
""path"": ""Dpad"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Move"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""e2062cb9-1b15-46a2-838c-2f8d72a0bdd9"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""up"",
""id"": ""8180e8bd-4097-4f4e-ab88-4523101a6ce9"",
""path"": ""<Keyboard>/upArrow"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""320bffee-a40b-4347-ac70-c210eb8bc73a"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""1c5327b5-f71c-4f60-99c7-4e737386f1d1"",
""path"": ""<Keyboard>/downArrow"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""d2581a9b-1d11-4566-b27d-b92aff5fabbc"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""2e46982e-44cc-431b-9f0b-c11910bf467a"",
""path"": ""<Keyboard>/leftArrow"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""fcfe95b8-67b9-4526-84b5-5d0bc98d6400"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""77bff152-3580-4b21-b6de-dcd0c7e41164"",
""path"": ""<Keyboard>/rightArrow"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""1635d3fe-58b6-4ba9-a4e2-f4b964f6b5c8"",
""path"": ""<XRController>/{Primary2DAxis}"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""3ea4d645-4504-4529-b061-ab81934c3752"",
""path"": ""<Joystick>/stick"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""c1f7a91b-d0fd-4a62-997e-7fb9b69bf235"",
""path"": ""<Gamepad>/rightStick"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Look"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""8c8e490b-c610-4785-884f-f04217b23ca4"",
""path"": ""<Pointer>/delta"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse;Touch"",
""action"": ""Look"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""3e5f5442-8668-4b27-a940-df99bad7e831"",
""path"": ""<Joystick>/{Hatswitch}"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Look"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f2e9ba44-c423-42a7-ad56-f20975884794"",
""path"": ""<Keyboard>/leftShift"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Run"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""8cbb2f4b-a784-49cc-8d5e-c010b8c7f4e6"",
""path"": ""<Gamepad>/leftStickPress"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Run"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d8bf24bf-3f2f-4160-a97c-38ec1eb520ba"",
""path"": ""<XRController>/trigger"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""Run"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""eb40bb66-4559-4dfa-9a2f-820438abb426"",
""path"": ""<Keyboard>/space"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""daba33a1-ad0c-4742-a909-43ad1cdfbeb6"",
""path"": ""<Gamepad>/buttonSouth"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""603f3daf-40bd-4854-8724-93e8017f59e3"",
""path"": ""<XRController>/secondaryButton"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""13e7338f-4b65-4fe1-be3e-9e343214372a"",
""path"": ""<Mouse>/scroll"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Zoom"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""dc53c96d-ef5b-44af-ab2f-ec42f8e2e045"",
""path"": ""<Mouse>/leftButton"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Op1"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""35e599f2-e8a1-416e-bca5-f3a2137421d1"",
""path"": ""<Mouse>/rightButton"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Op2"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""211b10df-e7a6-4128-a2a9-f8d3817914e4"",
""path"": ""<Keyboard>/b"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""SelectBait"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d5771e70-0672-4b6b-a48f-206cc5276812"",
""path"": ""<Keyboard>/t"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""SelectFood"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""85c51334-cad2-42b8-9bc0-9fa9bc0f9643"",
""path"": ""<Keyboard>/u"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""SelectItem"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""cea943ec-a234-44a2-8993-9da71b3ae18b"",
""path"": ""<Keyboard>/f"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""UseTorch"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""986650f5-2cf5-4141-95cc-6e68292d361a"",
""path"": ""<Keyboard>/z"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""UseTelescope"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""980d5d3e-d16c-4341-9ccd-013cca712b8a"",
""path"": ""<Keyboard>/space"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""UseBrail"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""ab09d705-53b7-4355-bca9-bc12a07ba5e6"",
""path"": ""<Keyboard>/equals"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""AddBob"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""23229eb8-1408-476c-ab39-a85cec86d2fa"",
""path"": ""<Keyboard>/minus"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""SubBob"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""bb2cdeeb-8818-4958-982c-144f48b52c2e"",
""path"": ""<Keyboard>/backspace"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""ToBag"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""9291baa5-42b7-41fb-91a9-a3f38b86d5e6"",
""path"": ""<Keyboard>/f1"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Help"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""815dc5ee-4737-4312-98c5-01670023c90b"",
""path"": ""<Keyboard>/q"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Chat"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""ed0962d8-3fac-4742-acb1-a33c20ad4aa1"",
""path"": ""<Keyboard>/v"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Info"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""0fa9b73e-f638-40ae-b9dd-7962a657900c"",
""path"": ""<Keyboard>/o"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Skill"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""5a3a07bf-8da8-411a-a74f-88af99c6078b"",
""path"": ""<Keyboard>/i"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""OpenBag"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""9835cfe8-92fc-486e-9090-72133f850c1f"",
""path"": ""<Keyboard>/c"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Keepnet"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""4b8b8d1b-1920-4bfd-95f8-654e70fc9679"",
""path"": ""<Keyboard>/n"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Make"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""db12b135-f475-4d72-ab9f-a7bdcc9536ec"",
""path"": ""<Keyboard>/m"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Map"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""aa41d4be-4554-49ff-8ce9-e7b7391a4a0a"",
""path"": ""<Keyboard>/1"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick1"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""ec90a04d-0c9f-4573-9585-e0684561af73"",
""path"": ""<Keyboard>/2"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick2"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""6e24d903-2893-465f-8a15-99ff269fb90a"",
""path"": ""<Keyboard>/3"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick3"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b43a8a8d-396f-45d5-b7c0-49906d3959bf"",
""path"": ""<Keyboard>/4"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick4"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""9939c37d-0dd5-4ba5-8d15-687a25cf83d8"",
""path"": ""<Keyboard>/5"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick5"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""df0f7d01-b6a5-4a06-b145-4ac9521caa47"",
""path"": ""<Keyboard>/6"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick6"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d1f3bf38-81dd-40e5-8479-70318ec1049b"",
""path"": ""<Keyboard>/7"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick7"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f9789cc4-2c44-4dfe-b7cd-e583d14d75cc"",
""path"": ""<Keyboard>/8"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick8"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""6857da81-80ac-4d7d-ac72-c656cca1209f"",
""path"": ""<Keyboard>/9"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Quick9"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""09257b2e-f9bf-4dc8-a805-d9ae8167ce4c"",
""path"": ""<Keyboard>/e"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Use1"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""ff8df6be-dab1-42c1-8431-d479ab9477b1"",
""path"": ""<Keyboard>/y"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Use2"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
},
{
""name"": ""UI"",
""id"": ""1e134a50-caf1-48ef-a011-2fabe2c0d049"",
""actions"": [
{
""name"": ""Roll"",
""type"": ""Button"",
""id"": ""379cc72d-f733-45da-b173-b881ab8ab0ed"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Back"",
""type"": ""Button"",
""id"": ""401f71b2-4e5e-4157-91d4-b5d582f3a05e"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Enter"",
""type"": ""Button"",
""id"": ""7f14a5b4-f3b7-4f7e-b580-6e872739a8a8"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Tab"",
""type"": ""Button"",
""id"": ""fef7976b-b6a3-4a42-a774-52cde704f619"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Prev"",
""type"": ""Button"",
""id"": ""43ccf3ef-746f-4dd7-b21c-d4c6db069938"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Next"",
""type"": ""Button"",
""id"": ""cda4c3e5-6ca3-44c6-b378-3c31b1d7f3f6"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SubPrev"",
""type"": ""Button"",
""id"": ""884769f9-3abc-4fae-9a67-825c30770143"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SubNext"",
""type"": ""Button"",
""id"": ""aba7119c-4211-4c6d-918b-a75ca20c2f7f"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Right"",
""type"": ""Button"",
""id"": ""348bd961-a6a0-4d13-b414-83b43201bc10"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Left"",
""type"": ""Button"",
""id"": ""da1344ed-a4b5-43ef-bad6-a3f6bb06ff23"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Down"",
""type"": ""Button"",
""id"": ""dafd152b-aa0a-48bb-890d-289ab3a3e713"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Up"",
""type"": ""Button"",
""id"": ""e0dbeebd-c69d-44bd-83de-94fcce8c6727"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""New action"",
""type"": ""Button"",
""id"": ""a21da899-9653-49b5-8fd8-73934d7f180c"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
}
],
""bindings"": [
{
""name"": """",
""id"": ""0e66040a-5980-401a-85c3-b2ef2cc13664"",
""path"": """",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Roll"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""89052787-93ee-47da-ae8f-5bd86adfb2ff"",
""path"": ""<Keyboard>/escape"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Back"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a6e94404-e896-4fec-b3bf-affd31b12571"",
""path"": ""<Keyboard>/enter"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Enter"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""23dac47b-935f-4261-8044-a8612edf3fda"",
""path"": ""<Keyboard>/tab"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Tab"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""1a7adfe5-f5a6-498f-8a9a-f6dd4f0c6c05"",
""path"": ""<Keyboard>/q"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Prev"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""2661bf5d-0afe-4f8c-a4e8-2aa6150c724d"",
""path"": ""<Keyboard>/e"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Next"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""487ceb23-336d-45f6-a782-3b4e9d9f0cd1"",
""path"": ""<Keyboard>/z"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""SubPrev"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""463ec073-6e9d-4b1d-9956-8ec19838aa3e"",
""path"": ""<Keyboard>/c"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""SubNext"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""053ddbac-9f73-4672-be59-abfdb6037aea"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Right"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""031b930d-59b6-4a26-9dfe-97764c3e8b37"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Left"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""45f78626-cbf2-4e1f-904d-d82e4c2a2f41"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Down"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f1a47b3c-e79f-4ab3-86b6-fcc0a6470114"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Up"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""393f1eb9-d10d-4cd1-87e7-ea299f92b2da"",
""path"": """",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""New action"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
}
],
""controlSchemes"": [
{
""name"": ""Keyboard&Mouse"",
""bindingGroup"": ""Keyboard&Mouse"",
""devices"": [
{
""devicePath"": ""<Keyboard>"",
""isOptional"": false,
""isOR"": false
},
{
""devicePath"": ""<Mouse>"",
""isOptional"": false,
""isOR"": false
}
]
},
{
""name"": ""Gamepad"",
""bindingGroup"": ""Gamepad"",
""devices"": [
{
""devicePath"": ""<Gamepad>"",
""isOptional"": false,
""isOR"": false
}
]
},
{
""name"": ""Touch"",
""bindingGroup"": ""Touch"",
""devices"": [
{
""devicePath"": ""<Touchscreen>"",
""isOptional"": false,
""isOR"": false
}
]
},
{
""name"": ""Joystick"",
""bindingGroup"": ""Joystick"",
""devices"": [
{
""devicePath"": ""<Joystick>"",
""isOptional"": false,
""isOR"": false
}
]
},
{
""name"": ""XR"",
""bindingGroup"": ""XR"",
""devices"": [
{
""devicePath"": ""<XRController>"",
""isOptional"": false,
""isOR"": false
}
]
}
]
}");
// Player
m_Player = asset.FindActionMap("Player", throwIfNotFound: true);
m_Player_Move = m_Player.FindAction("Move", throwIfNotFound: true);
m_Player_Look = m_Player.FindAction("Look", throwIfNotFound: true);
m_Player_Zoom = m_Player.FindAction("Zoom", throwIfNotFound: true);
m_Player_Jump = m_Player.FindAction("Jump", throwIfNotFound: true);
m_Player_Run = m_Player.FindAction("Run", throwIfNotFound: true);
m_Player_Op1 = m_Player.FindAction("Op1", throwIfNotFound: true);
m_Player_Op2 = m_Player.FindAction("Op2", throwIfNotFound: true);
m_Player_SelectItem = m_Player.FindAction("SelectItem", throwIfNotFound: true);
m_Player_SelectBait = m_Player.FindAction("SelectBait", throwIfNotFound: true);
m_Player_SelectFood = m_Player.FindAction("SelectFood", throwIfNotFound: true);
m_Player_UseTorch = m_Player.FindAction("UseTorch", throwIfNotFound: true);
m_Player_UseTelescope = m_Player.FindAction("UseTelescope", throwIfNotFound: true);
m_Player_UseBrail = m_Player.FindAction("UseBrail", throwIfNotFound: true);
m_Player_AddBob = m_Player.FindAction("AddBob", throwIfNotFound: true);
m_Player_SubBob = m_Player.FindAction("SubBob", throwIfNotFound: true);
m_Player_ToBag = m_Player.FindAction("ToBag", throwIfNotFound: true);
m_Player_Help = m_Player.FindAction("Help", throwIfNotFound: true);
m_Player_Chat = m_Player.FindAction("Chat", throwIfNotFound: true);
m_Player_Info = m_Player.FindAction("Info", throwIfNotFound: true);
m_Player_Skill = m_Player.FindAction("Skill", throwIfNotFound: true);
m_Player_OpenBag = m_Player.FindAction("OpenBag", throwIfNotFound: true);
m_Player_Keepnet = m_Player.FindAction("Keepnet", throwIfNotFound: true);
m_Player_Make = m_Player.FindAction("Make", throwIfNotFound: true);
m_Player_Map = m_Player.FindAction("Map", throwIfNotFound: true);
m_Player_Quick1 = m_Player.FindAction("Quick1", throwIfNotFound: true);
m_Player_Quick2 = m_Player.FindAction("Quick2", throwIfNotFound: true);
m_Player_Quick3 = m_Player.FindAction("Quick3", throwIfNotFound: true);
m_Player_Quick4 = m_Player.FindAction("Quick4", throwIfNotFound: true);
m_Player_Quick5 = m_Player.FindAction("Quick5", throwIfNotFound: true);
m_Player_Quick6 = m_Player.FindAction("Quick6", throwIfNotFound: true);
m_Player_Quick7 = m_Player.FindAction("Quick7", throwIfNotFound: true);
m_Player_Quick8 = m_Player.FindAction("Quick8", throwIfNotFound: true);
m_Player_Quick9 = m_Player.FindAction("Quick9", throwIfNotFound: true);
m_Player_Use1 = m_Player.FindAction("Use1", throwIfNotFound: true);
m_Player_Use2 = m_Player.FindAction("Use2", throwIfNotFound: true);
// UI
m_UI = asset.FindActionMap("UI", throwIfNotFound: true);
m_UI_Roll = m_UI.FindAction("Roll", throwIfNotFound: true);
m_UI_Back = m_UI.FindAction("Back", throwIfNotFound: true);
m_UI_Enter = m_UI.FindAction("Enter", throwIfNotFound: true);
m_UI_Tab = m_UI.FindAction("Tab", throwIfNotFound: true);
m_UI_Prev = m_UI.FindAction("Prev", throwIfNotFound: true);
m_UI_Next = m_UI.FindAction("Next", throwIfNotFound: true);
m_UI_SubPrev = m_UI.FindAction("SubPrev", throwIfNotFound: true);
m_UI_SubNext = m_UI.FindAction("SubNext", throwIfNotFound: true);
m_UI_Right = m_UI.FindAction("Right", throwIfNotFound: true);
m_UI_Left = m_UI.FindAction("Left", throwIfNotFound: true);
m_UI_Down = m_UI.FindAction("Down", throwIfNotFound: true);
m_UI_Up = m_UI.FindAction("Up", throwIfNotFound: true);
m_UI_Newaction = m_UI.FindAction("New action", throwIfNotFound: true);
}
~@PlayerInputControl()
{
UnityEngine.Debug.Assert(!m_Player.enabled, "This will cause a leak and performance issues, PlayerInputControl.Player.Disable() has not been called.");
UnityEngine.Debug.Assert(!m_UI.enabled, "This will cause a leak and performance issues, PlayerInputControl.UI.Disable() has not been called.");
}
/// <summary>
/// Destroys this asset and all associated <see cref="InputAction"/> instances.
/// </summary>
public void Dispose()
{
UnityEngine.Object.Destroy(asset);
}
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.bindingMask" />
public InputBinding? bindingMask
{
get => asset.bindingMask;
set => asset.bindingMask = value;
}
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.devices" />
public ReadOnlyArray<InputDevice>? devices
{
get => asset.devices;
set => asset.devices = value;
}
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.controlSchemes" />
public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes;
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.Contains(InputAction)" />
public bool Contains(InputAction action)
{
return asset.Contains(action);
}
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.GetEnumerator()" />
public IEnumerator<InputAction> GetEnumerator()
{
return asset.GetEnumerator();
}
/// <inheritdoc cref="IEnumerable.GetEnumerator()" />
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.Enable()" />
public void Enable()
{
asset.Enable();
}
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.Disable()" />
public void Disable()
{
asset.Disable();
}
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.bindings" />
public IEnumerable<InputBinding> bindings => asset.bindings;
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.FindAction(string, bool)" />
public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)
{
return asset.FindAction(actionNameOrId, throwIfNotFound);
}
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.FindBinding(InputBinding, out InputAction)" />
public int FindBinding(InputBinding bindingMask, out InputAction action)
{
return asset.FindBinding(bindingMask, out action);
}
// Player
private readonly InputActionMap m_Player;
private List<IPlayerActions> m_PlayerActionsCallbackInterfaces = new List<IPlayerActions>();
private readonly InputAction m_Player_Move;
private readonly InputAction m_Player_Look;
private readonly InputAction m_Player_Zoom;
private readonly InputAction m_Player_Jump;
private readonly InputAction m_Player_Run;
private readonly InputAction m_Player_Op1;
private readonly InputAction m_Player_Op2;
private readonly InputAction m_Player_SelectItem;
private readonly InputAction m_Player_SelectBait;
private readonly InputAction m_Player_SelectFood;
private readonly InputAction m_Player_UseTorch;
private readonly InputAction m_Player_UseTelescope;
private readonly InputAction m_Player_UseBrail;
private readonly InputAction m_Player_AddBob;
private readonly InputAction m_Player_SubBob;
private readonly InputAction m_Player_ToBag;
private readonly InputAction m_Player_Help;
private readonly InputAction m_Player_Chat;
private readonly InputAction m_Player_Info;
private readonly InputAction m_Player_Skill;
private readonly InputAction m_Player_OpenBag;
private readonly InputAction m_Player_Keepnet;
private readonly InputAction m_Player_Make;
private readonly InputAction m_Player_Map;
private readonly InputAction m_Player_Quick1;
private readonly InputAction m_Player_Quick2;
private readonly InputAction m_Player_Quick3;
private readonly InputAction m_Player_Quick4;
private readonly InputAction m_Player_Quick5;
private readonly InputAction m_Player_Quick6;
private readonly InputAction m_Player_Quick7;
private readonly InputAction m_Player_Quick8;
private readonly InputAction m_Player_Quick9;
private readonly InputAction m_Player_Use1;
private readonly InputAction m_Player_Use2;
/// <summary>
/// Provides access to input actions defined in input action map "Player".
/// </summary>
public struct PlayerActions
{
private @PlayerInputControl m_Wrapper;
/// <summary>
/// Construct a new instance of the input action map wrapper class.
/// </summary>
public PlayerActions(@PlayerInputControl wrapper) { m_Wrapper = wrapper; }
/// <summary>
/// Provides access to the underlying input action "Player/Move".
/// </summary>
public InputAction @Move => m_Wrapper.m_Player_Move;
/// <summary>
/// Provides access to the underlying input action "Player/Look".
/// </summary>
public InputAction @Look => m_Wrapper.m_Player_Look;
/// <summary>
/// Provides access to the underlying input action "Player/Zoom".
/// </summary>
public InputAction @Zoom => m_Wrapper.m_Player_Zoom;
/// <summary>
/// Provides access to the underlying input action "Player/Jump".
/// </summary>
public InputAction @Jump => m_Wrapper.m_Player_Jump;
/// <summary>
/// Provides access to the underlying input action "Player/Run".
/// </summary>
public InputAction @Run => m_Wrapper.m_Player_Run;
/// <summary>
/// Provides access to the underlying input action "Player/Op1".
/// </summary>
public InputAction @Op1 => m_Wrapper.m_Player_Op1;
/// <summary>
/// Provides access to the underlying input action "Player/Op2".
/// </summary>
public InputAction @Op2 => m_Wrapper.m_Player_Op2;
/// <summary>
/// Provides access to the underlying input action "Player/SelectItem".
/// </summary>
public InputAction @SelectItem => m_Wrapper.m_Player_SelectItem;
/// <summary>
/// Provides access to the underlying input action "Player/SelectBait".
/// </summary>
public InputAction @SelectBait => m_Wrapper.m_Player_SelectBait;
/// <summary>
/// Provides access to the underlying input action "Player/SelectFood".
/// </summary>
public InputAction @SelectFood => m_Wrapper.m_Player_SelectFood;
/// <summary>
/// Provides access to the underlying input action "Player/UseTorch".
/// </summary>
public InputAction @UseTorch => m_Wrapper.m_Player_UseTorch;
/// <summary>
/// Provides access to the underlying input action "Player/UseTelescope".
/// </summary>
public InputAction @UseTelescope => m_Wrapper.m_Player_UseTelescope;
/// <summary>
/// Provides access to the underlying input action "Player/UseBrail".
/// </summary>
public InputAction @UseBrail => m_Wrapper.m_Player_UseBrail;
/// <summary>
/// Provides access to the underlying input action "Player/AddBob".
/// </summary>
public InputAction @AddBob => m_Wrapper.m_Player_AddBob;
/// <summary>
/// Provides access to the underlying input action "Player/SubBob".
/// </summary>
public InputAction @SubBob => m_Wrapper.m_Player_SubBob;
/// <summary>
/// Provides access to the underlying input action "Player/ToBag".
/// </summary>
public InputAction @ToBag => m_Wrapper.m_Player_ToBag;
/// <summary>
/// Provides access to the underlying input action "Player/Help".
/// </summary>
public InputAction @Help => m_Wrapper.m_Player_Help;
/// <summary>
/// Provides access to the underlying input action "Player/Chat".
/// </summary>
public InputAction @Chat => m_Wrapper.m_Player_Chat;
/// <summary>
/// Provides access to the underlying input action "Player/Info".
/// </summary>
public InputAction @Info => m_Wrapper.m_Player_Info;
/// <summary>
/// Provides access to the underlying input action "Player/Skill".
/// </summary>
public InputAction @Skill => m_Wrapper.m_Player_Skill;
/// <summary>
/// Provides access to the underlying input action "Player/OpenBag".
/// </summary>
public InputAction @OpenBag => m_Wrapper.m_Player_OpenBag;
/// <summary>
/// Provides access to the underlying input action "Player/Keepnet".
/// </summary>
public InputAction @Keepnet => m_Wrapper.m_Player_Keepnet;
/// <summary>
/// Provides access to the underlying input action "Player/Make".
/// </summary>
public InputAction @Make => m_Wrapper.m_Player_Make;
/// <summary>
/// Provides access to the underlying input action "Player/Map".
/// </summary>
public InputAction @Map => m_Wrapper.m_Player_Map;
/// <summary>
/// Provides access to the underlying input action "Player/Quick1".
/// </summary>
public InputAction @Quick1 => m_Wrapper.m_Player_Quick1;
/// <summary>
/// Provides access to the underlying input action "Player/Quick2".
/// </summary>
public InputAction @Quick2 => m_Wrapper.m_Player_Quick2;
/// <summary>
/// Provides access to the underlying input action "Player/Quick3".
/// </summary>
public InputAction @Quick3 => m_Wrapper.m_Player_Quick3;
/// <summary>
/// Provides access to the underlying input action "Player/Quick4".
/// </summary>
public InputAction @Quick4 => m_Wrapper.m_Player_Quick4;
/// <summary>
/// Provides access to the underlying input action "Player/Quick5".
/// </summary>
public InputAction @Quick5 => m_Wrapper.m_Player_Quick5;
/// <summary>
/// Provides access to the underlying input action "Player/Quick6".
/// </summary>
public InputAction @Quick6 => m_Wrapper.m_Player_Quick6;
/// <summary>
/// Provides access to the underlying input action "Player/Quick7".
/// </summary>
public InputAction @Quick7 => m_Wrapper.m_Player_Quick7;
/// <summary>
/// Provides access to the underlying input action "Player/Quick8".
/// </summary>
public InputAction @Quick8 => m_Wrapper.m_Player_Quick8;
/// <summary>
/// Provides access to the underlying input action "Player/Quick9".
/// </summary>
public InputAction @Quick9 => m_Wrapper.m_Player_Quick9;
/// <summary>
/// Provides access to the underlying input action "Player/Use1".
/// </summary>
public InputAction @Use1 => m_Wrapper.m_Player_Use1;
/// <summary>
/// Provides access to the underlying input action "Player/Use2".
/// </summary>
public InputAction @Use2 => m_Wrapper.m_Player_Use2;
/// <summary>
/// Provides access to the underlying input action map instance.
/// </summary>
public InputActionMap Get() { return m_Wrapper.m_Player; }
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.Enable()" />
public void Enable() { Get().Enable(); }
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.Disable()" />
public void Disable() { Get().Disable(); }
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.enabled" />
public bool enabled => Get().enabled;
/// <summary>
/// Implicitly converts an <see ref="PlayerActions" /> to an <see ref="InputActionMap" /> instance.
/// </summary>
public static implicit operator InputActionMap(PlayerActions set) { return set.Get(); }
/// <summary>
/// Adds <see cref="InputAction.started"/>, <see cref="InputAction.performed"/> and <see cref="InputAction.canceled"/> callbacks provided via <param cref="instance" /> on all input actions contained in this map.
/// </summary>
/// <param name="instance">Callback instance.</param>
/// <remarks>
/// If <paramref name="instance" /> is <c>null</c> or <paramref name="instance"/> have already been added this method does nothing.
/// </remarks>
/// <seealso cref="PlayerActions" />
public void AddCallbacks(IPlayerActions instance)
{
if (instance == null || m_Wrapper.m_PlayerActionsCallbackInterfaces.Contains(instance)) return;
m_Wrapper.m_PlayerActionsCallbackInterfaces.Add(instance);
@Move.started += instance.OnMove;
@Move.performed += instance.OnMove;
@Move.canceled += instance.OnMove;
@Look.started += instance.OnLook;
@Look.performed += instance.OnLook;
@Look.canceled += instance.OnLook;
@Zoom.started += instance.OnZoom;
@Zoom.performed += instance.OnZoom;
@Zoom.canceled += instance.OnZoom;
@Jump.started += instance.OnJump;
@Jump.performed += instance.OnJump;
@Jump.canceled += instance.OnJump;
@Run.started += instance.OnRun;
@Run.performed += instance.OnRun;
@Run.canceled += instance.OnRun;
@Op1.started += instance.OnOp1;
@Op1.performed += instance.OnOp1;
@Op1.canceled += instance.OnOp1;
@Op2.started += instance.OnOp2;
@Op2.performed += instance.OnOp2;
@Op2.canceled += instance.OnOp2;
@SelectItem.started += instance.OnSelectItem;
@SelectItem.performed += instance.OnSelectItem;
@SelectItem.canceled += instance.OnSelectItem;
@SelectBait.started += instance.OnSelectBait;
@SelectBait.performed += instance.OnSelectBait;
@SelectBait.canceled += instance.OnSelectBait;
@SelectFood.started += instance.OnSelectFood;
@SelectFood.performed += instance.OnSelectFood;
@SelectFood.canceled += instance.OnSelectFood;
@UseTorch.started += instance.OnUseTorch;
@UseTorch.performed += instance.OnUseTorch;
@UseTorch.canceled += instance.OnUseTorch;
@UseTelescope.started += instance.OnUseTelescope;
@UseTelescope.performed += instance.OnUseTelescope;
@UseTelescope.canceled += instance.OnUseTelescope;
@UseBrail.started += instance.OnUseBrail;
@UseBrail.performed += instance.OnUseBrail;
@UseBrail.canceled += instance.OnUseBrail;
@AddBob.started += instance.OnAddBob;
@AddBob.performed += instance.OnAddBob;
@AddBob.canceled += instance.OnAddBob;
@SubBob.started += instance.OnSubBob;
@SubBob.performed += instance.OnSubBob;
@SubBob.canceled += instance.OnSubBob;
@ToBag.started += instance.OnToBag;
@ToBag.performed += instance.OnToBag;
@ToBag.canceled += instance.OnToBag;
@Help.started += instance.OnHelp;
@Help.performed += instance.OnHelp;
@Help.canceled += instance.OnHelp;
@Chat.started += instance.OnChat;
@Chat.performed += instance.OnChat;
@Chat.canceled += instance.OnChat;
@Info.started += instance.OnInfo;
@Info.performed += instance.OnInfo;
@Info.canceled += instance.OnInfo;
@Skill.started += instance.OnSkill;
@Skill.performed += instance.OnSkill;
@Skill.canceled += instance.OnSkill;
@OpenBag.started += instance.OnOpenBag;
@OpenBag.performed += instance.OnOpenBag;
@OpenBag.canceled += instance.OnOpenBag;
@Keepnet.started += instance.OnKeepnet;
@Keepnet.performed += instance.OnKeepnet;
@Keepnet.canceled += instance.OnKeepnet;
@Make.started += instance.OnMake;
@Make.performed += instance.OnMake;
@Make.canceled += instance.OnMake;
@Map.started += instance.OnMap;
@Map.performed += instance.OnMap;
@Map.canceled += instance.OnMap;
@Quick1.started += instance.OnQuick1;
@Quick1.performed += instance.OnQuick1;
@Quick1.canceled += instance.OnQuick1;
@Quick2.started += instance.OnQuick2;
@Quick2.performed += instance.OnQuick2;
@Quick2.canceled += instance.OnQuick2;
@Quick3.started += instance.OnQuick3;
@Quick3.performed += instance.OnQuick3;
@Quick3.canceled += instance.OnQuick3;
@Quick4.started += instance.OnQuick4;
@Quick4.performed += instance.OnQuick4;
@Quick4.canceled += instance.OnQuick4;
@Quick5.started += instance.OnQuick5;
@Quick5.performed += instance.OnQuick5;
@Quick5.canceled += instance.OnQuick5;
@Quick6.started += instance.OnQuick6;
@Quick6.performed += instance.OnQuick6;
@Quick6.canceled += instance.OnQuick6;
@Quick7.started += instance.OnQuick7;
@Quick7.performed += instance.OnQuick7;
@Quick7.canceled += instance.OnQuick7;
@Quick8.started += instance.OnQuick8;
@Quick8.performed += instance.OnQuick8;
@Quick8.canceled += instance.OnQuick8;
@Quick9.started += instance.OnQuick9;
@Quick9.performed += instance.OnQuick9;
@Quick9.canceled += instance.OnQuick9;
@Use1.started += instance.OnUse1;
@Use1.performed += instance.OnUse1;
@Use1.canceled += instance.OnUse1;
@Use2.started += instance.OnUse2;
@Use2.performed += instance.OnUse2;
@Use2.canceled += instance.OnUse2;
}
/// <summary>
/// Removes <see cref="InputAction.started"/>, <see cref="InputAction.performed"/> and <see cref="InputAction.canceled"/> callbacks provided via <param cref="instance" /> on all input actions contained in this map.
/// </summary>
/// <remarks>
/// Calling this method when <paramref name="instance" /> have not previously been registered has no side-effects.
/// </remarks>
/// <seealso cref="PlayerActions" />
private void UnregisterCallbacks(IPlayerActions instance)
{
@Move.started -= instance.OnMove;
@Move.performed -= instance.OnMove;
@Move.canceled -= instance.OnMove;
@Look.started -= instance.OnLook;
@Look.performed -= instance.OnLook;
@Look.canceled -= instance.OnLook;
@Zoom.started -= instance.OnZoom;
@Zoom.performed -= instance.OnZoom;
@Zoom.canceled -= instance.OnZoom;
@Jump.started -= instance.OnJump;
@Jump.performed -= instance.OnJump;
@Jump.canceled -= instance.OnJump;
@Run.started -= instance.OnRun;
@Run.performed -= instance.OnRun;
@Run.canceled -= instance.OnRun;
@Op1.started -= instance.OnOp1;
@Op1.performed -= instance.OnOp1;
@Op1.canceled -= instance.OnOp1;
@Op2.started -= instance.OnOp2;
@Op2.performed -= instance.OnOp2;
@Op2.canceled -= instance.OnOp2;
@SelectItem.started -= instance.OnSelectItem;
@SelectItem.performed -= instance.OnSelectItem;
@SelectItem.canceled -= instance.OnSelectItem;
@SelectBait.started -= instance.OnSelectBait;
@SelectBait.performed -= instance.OnSelectBait;
@SelectBait.canceled -= instance.OnSelectBait;
@SelectFood.started -= instance.OnSelectFood;
@SelectFood.performed -= instance.OnSelectFood;
@SelectFood.canceled -= instance.OnSelectFood;
@UseTorch.started -= instance.OnUseTorch;
@UseTorch.performed -= instance.OnUseTorch;
@UseTorch.canceled -= instance.OnUseTorch;
@UseTelescope.started -= instance.OnUseTelescope;
@UseTelescope.performed -= instance.OnUseTelescope;
@UseTelescope.canceled -= instance.OnUseTelescope;
@UseBrail.started -= instance.OnUseBrail;
@UseBrail.performed -= instance.OnUseBrail;
@UseBrail.canceled -= instance.OnUseBrail;
@AddBob.started -= instance.OnAddBob;
@AddBob.performed -= instance.OnAddBob;
@AddBob.canceled -= instance.OnAddBob;
@SubBob.started -= instance.OnSubBob;
@SubBob.performed -= instance.OnSubBob;
@SubBob.canceled -= instance.OnSubBob;
@ToBag.started -= instance.OnToBag;
@ToBag.performed -= instance.OnToBag;
@ToBag.canceled -= instance.OnToBag;
@Help.started -= instance.OnHelp;
@Help.performed -= instance.OnHelp;
@Help.canceled -= instance.OnHelp;
@Chat.started -= instance.OnChat;
@Chat.performed -= instance.OnChat;
@Chat.canceled -= instance.OnChat;
@Info.started -= instance.OnInfo;
@Info.performed -= instance.OnInfo;
@Info.canceled -= instance.OnInfo;
@Skill.started -= instance.OnSkill;
@Skill.performed -= instance.OnSkill;
@Skill.canceled -= instance.OnSkill;
@OpenBag.started -= instance.OnOpenBag;
@OpenBag.performed -= instance.OnOpenBag;
@OpenBag.canceled -= instance.OnOpenBag;
@Keepnet.started -= instance.OnKeepnet;
@Keepnet.performed -= instance.OnKeepnet;
@Keepnet.canceled -= instance.OnKeepnet;
@Make.started -= instance.OnMake;
@Make.performed -= instance.OnMake;
@Make.canceled -= instance.OnMake;
@Map.started -= instance.OnMap;
@Map.performed -= instance.OnMap;
@Map.canceled -= instance.OnMap;
@Quick1.started -= instance.OnQuick1;
@Quick1.performed -= instance.OnQuick1;
@Quick1.canceled -= instance.OnQuick1;
@Quick2.started -= instance.OnQuick2;
@Quick2.performed -= instance.OnQuick2;
@Quick2.canceled -= instance.OnQuick2;
@Quick3.started -= instance.OnQuick3;
@Quick3.performed -= instance.OnQuick3;
@Quick3.canceled -= instance.OnQuick3;
@Quick4.started -= instance.OnQuick4;
@Quick4.performed -= instance.OnQuick4;
@Quick4.canceled -= instance.OnQuick4;
@Quick5.started -= instance.OnQuick5;
@Quick5.performed -= instance.OnQuick5;
@Quick5.canceled -= instance.OnQuick5;
@Quick6.started -= instance.OnQuick6;
@Quick6.performed -= instance.OnQuick6;
@Quick6.canceled -= instance.OnQuick6;
@Quick7.started -= instance.OnQuick7;
@Quick7.performed -= instance.OnQuick7;
@Quick7.canceled -= instance.OnQuick7;
@Quick8.started -= instance.OnQuick8;
@Quick8.performed -= instance.OnQuick8;
@Quick8.canceled -= instance.OnQuick8;
@Quick9.started -= instance.OnQuick9;
@Quick9.performed -= instance.OnQuick9;
@Quick9.canceled -= instance.OnQuick9;
@Use1.started -= instance.OnUse1;
@Use1.performed -= instance.OnUse1;
@Use1.canceled -= instance.OnUse1;
@Use2.started -= instance.OnUse2;
@Use2.performed -= instance.OnUse2;
@Use2.canceled -= instance.OnUse2;
}
/// <summary>
/// Unregisters <param cref="instance" /> and unregisters all input action callbacks via <see cref="PlayerActions.UnregisterCallbacks(IPlayerActions)" />.
/// </summary>
/// <seealso cref="PlayerActions.UnregisterCallbacks(IPlayerActions)" />
public void RemoveCallbacks(IPlayerActions instance)
{
if (m_Wrapper.m_PlayerActionsCallbackInterfaces.Remove(instance))
UnregisterCallbacks(instance);
}
/// <summary>
/// Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via <param cref="instance" />.
/// </summary>
/// <remarks>
/// If <paramref name="instance" /> is <c>null</c>, calling this method will only unregister all existing callbacks but not register any new callbacks.
/// </remarks>
/// <seealso cref="PlayerActions.AddCallbacks(IPlayerActions)" />
/// <seealso cref="PlayerActions.RemoveCallbacks(IPlayerActions)" />
/// <seealso cref="PlayerActions.UnregisterCallbacks(IPlayerActions)" />
public void SetCallbacks(IPlayerActions instance)
{
foreach (var item in m_Wrapper.m_PlayerActionsCallbackInterfaces)
UnregisterCallbacks(item);
m_Wrapper.m_PlayerActionsCallbackInterfaces.Clear();
AddCallbacks(instance);
}
}
/// <summary>
/// Provides a new <see cref="PlayerActions" /> instance referencing this action map.
/// </summary>
public PlayerActions @Player => new PlayerActions(this);
// UI
private readonly InputActionMap m_UI;
private List<IUIActions> m_UIActionsCallbackInterfaces = new List<IUIActions>();
private readonly InputAction m_UI_Roll;
private readonly InputAction m_UI_Back;
private readonly InputAction m_UI_Enter;
private readonly InputAction m_UI_Tab;
private readonly InputAction m_UI_Prev;
private readonly InputAction m_UI_Next;
private readonly InputAction m_UI_SubPrev;
private readonly InputAction m_UI_SubNext;
private readonly InputAction m_UI_Right;
private readonly InputAction m_UI_Left;
private readonly InputAction m_UI_Down;
private readonly InputAction m_UI_Up;
private readonly InputAction m_UI_Newaction;
/// <summary>
/// Provides access to input actions defined in input action map "UI".
/// </summary>
public struct UIActions
{
private @PlayerInputControl m_Wrapper;
/// <summary>
/// Construct a new instance of the input action map wrapper class.
/// </summary>
public UIActions(@PlayerInputControl wrapper) { m_Wrapper = wrapper; }
/// <summary>
/// Provides access to the underlying input action "UI/Roll".
/// </summary>
public InputAction @Roll => m_Wrapper.m_UI_Roll;
/// <summary>
/// Provides access to the underlying input action "UI/Back".
/// </summary>
public InputAction @Back => m_Wrapper.m_UI_Back;
/// <summary>
/// Provides access to the underlying input action "UI/Enter".
/// </summary>
public InputAction @Enter => m_Wrapper.m_UI_Enter;
/// <summary>
/// Provides access to the underlying input action "UI/Tab".
/// </summary>
public InputAction @Tab => m_Wrapper.m_UI_Tab;
/// <summary>
/// Provides access to the underlying input action "UI/Prev".
/// </summary>
public InputAction @Prev => m_Wrapper.m_UI_Prev;
/// <summary>
/// Provides access to the underlying input action "UI/Next".
/// </summary>
public InputAction @Next => m_Wrapper.m_UI_Next;
/// <summary>
/// Provides access to the underlying input action "UI/SubPrev".
/// </summary>
public InputAction @SubPrev => m_Wrapper.m_UI_SubPrev;
/// <summary>
/// Provides access to the underlying input action "UI/SubNext".
/// </summary>
public InputAction @SubNext => m_Wrapper.m_UI_SubNext;
/// <summary>
/// Provides access to the underlying input action "UI/Right".
/// </summary>
public InputAction @Right => m_Wrapper.m_UI_Right;
/// <summary>
/// Provides access to the underlying input action "UI/Left".
/// </summary>
public InputAction @Left => m_Wrapper.m_UI_Left;
/// <summary>
/// Provides access to the underlying input action "UI/Down".
/// </summary>
public InputAction @Down => m_Wrapper.m_UI_Down;
/// <summary>
/// Provides access to the underlying input action "UI/Up".
/// </summary>
public InputAction @Up => m_Wrapper.m_UI_Up;
/// <summary>
/// Provides access to the underlying input action "UI/Newaction".
/// </summary>
public InputAction @Newaction => m_Wrapper.m_UI_Newaction;
/// <summary>
/// Provides access to the underlying input action map instance.
/// </summary>
public InputActionMap Get() { return m_Wrapper.m_UI; }
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.Enable()" />
public void Enable() { Get().Enable(); }
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.Disable()" />
public void Disable() { Get().Disable(); }
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.enabled" />
public bool enabled => Get().enabled;
/// <summary>
/// Implicitly converts an <see ref="UIActions" /> to an <see ref="InputActionMap" /> instance.
/// </summary>
public static implicit operator InputActionMap(UIActions set) { return set.Get(); }
/// <summary>
/// Adds <see cref="InputAction.started"/>, <see cref="InputAction.performed"/> and <see cref="InputAction.canceled"/> callbacks provided via <param cref="instance" /> on all input actions contained in this map.
/// </summary>
/// <param name="instance">Callback instance.</param>
/// <remarks>
/// If <paramref name="instance" /> is <c>null</c> or <paramref name="instance"/> have already been added this method does nothing.
/// </remarks>
/// <seealso cref="UIActions" />
public void AddCallbacks(IUIActions instance)
{
if (instance == null || m_Wrapper.m_UIActionsCallbackInterfaces.Contains(instance)) return;
m_Wrapper.m_UIActionsCallbackInterfaces.Add(instance);
@Roll.started += instance.OnRoll;
@Roll.performed += instance.OnRoll;
@Roll.canceled += instance.OnRoll;
@Back.started += instance.OnBack;
@Back.performed += instance.OnBack;
@Back.canceled += instance.OnBack;
@Enter.started += instance.OnEnter;
@Enter.performed += instance.OnEnter;
@Enter.canceled += instance.OnEnter;
@Tab.started += instance.OnTab;
@Tab.performed += instance.OnTab;
@Tab.canceled += instance.OnTab;
@Prev.started += instance.OnPrev;
@Prev.performed += instance.OnPrev;
@Prev.canceled += instance.OnPrev;
@Next.started += instance.OnNext;
@Next.performed += instance.OnNext;
@Next.canceled += instance.OnNext;
@SubPrev.started += instance.OnSubPrev;
@SubPrev.performed += instance.OnSubPrev;
@SubPrev.canceled += instance.OnSubPrev;
@SubNext.started += instance.OnSubNext;
@SubNext.performed += instance.OnSubNext;
@SubNext.canceled += instance.OnSubNext;
@Right.started += instance.OnRight;
@Right.performed += instance.OnRight;
@Right.canceled += instance.OnRight;
@Left.started += instance.OnLeft;
@Left.performed += instance.OnLeft;
@Left.canceled += instance.OnLeft;
@Down.started += instance.OnDown;
@Down.performed += instance.OnDown;
@Down.canceled += instance.OnDown;
@Up.started += instance.OnUp;
@Up.performed += instance.OnUp;
@Up.canceled += instance.OnUp;
@Newaction.started += instance.OnNewaction;
@Newaction.performed += instance.OnNewaction;
@Newaction.canceled += instance.OnNewaction;
}
/// <summary>
/// Removes <see cref="InputAction.started"/>, <see cref="InputAction.performed"/> and <see cref="InputAction.canceled"/> callbacks provided via <param cref="instance" /> on all input actions contained in this map.
/// </summary>
/// <remarks>
/// Calling this method when <paramref name="instance" /> have not previously been registered has no side-effects.
/// </remarks>
/// <seealso cref="UIActions" />
private void UnregisterCallbacks(IUIActions instance)
{
@Roll.started -= instance.OnRoll;
@Roll.performed -= instance.OnRoll;
@Roll.canceled -= instance.OnRoll;
@Back.started -= instance.OnBack;
@Back.performed -= instance.OnBack;
@Back.canceled -= instance.OnBack;
@Enter.started -= instance.OnEnter;
@Enter.performed -= instance.OnEnter;
@Enter.canceled -= instance.OnEnter;
@Tab.started -= instance.OnTab;
@Tab.performed -= instance.OnTab;
@Tab.canceled -= instance.OnTab;
@Prev.started -= instance.OnPrev;
@Prev.performed -= instance.OnPrev;
@Prev.canceled -= instance.OnPrev;
@Next.started -= instance.OnNext;
@Next.performed -= instance.OnNext;
@Next.canceled -= instance.OnNext;
@SubPrev.started -= instance.OnSubPrev;
@SubPrev.performed -= instance.OnSubPrev;
@SubPrev.canceled -= instance.OnSubPrev;
@SubNext.started -= instance.OnSubNext;
@SubNext.performed -= instance.OnSubNext;
@SubNext.canceled -= instance.OnSubNext;
@Right.started -= instance.OnRight;
@Right.performed -= instance.OnRight;
@Right.canceled -= instance.OnRight;
@Left.started -= instance.OnLeft;
@Left.performed -= instance.OnLeft;
@Left.canceled -= instance.OnLeft;
@Down.started -= instance.OnDown;
@Down.performed -= instance.OnDown;
@Down.canceled -= instance.OnDown;
@Up.started -= instance.OnUp;
@Up.performed -= instance.OnUp;
@Up.canceled -= instance.OnUp;
@Newaction.started -= instance.OnNewaction;
@Newaction.performed -= instance.OnNewaction;
@Newaction.canceled -= instance.OnNewaction;
}
/// <summary>
/// Unregisters <param cref="instance" /> and unregisters all input action callbacks via <see cref="UIActions.UnregisterCallbacks(IUIActions)" />.
/// </summary>
/// <seealso cref="UIActions.UnregisterCallbacks(IUIActions)" />
public void RemoveCallbacks(IUIActions instance)
{
if (m_Wrapper.m_UIActionsCallbackInterfaces.Remove(instance))
UnregisterCallbacks(instance);
}
/// <summary>
/// Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via <param cref="instance" />.
/// </summary>
/// <remarks>
/// If <paramref name="instance" /> is <c>null</c>, calling this method will only unregister all existing callbacks but not register any new callbacks.
/// </remarks>
/// <seealso cref="UIActions.AddCallbacks(IUIActions)" />
/// <seealso cref="UIActions.RemoveCallbacks(IUIActions)" />
/// <seealso cref="UIActions.UnregisterCallbacks(IUIActions)" />
public void SetCallbacks(IUIActions instance)
{
foreach (var item in m_Wrapper.m_UIActionsCallbackInterfaces)
UnregisterCallbacks(item);
m_Wrapper.m_UIActionsCallbackInterfaces.Clear();
AddCallbacks(instance);
}
}
/// <summary>
/// Provides a new <see cref="UIActions" /> instance referencing this action map.
/// </summary>
public UIActions @UI => new UIActions(this);
private int m_KeyboardMouseSchemeIndex = -1;
/// <summary>
/// Provides access to the input control scheme.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
public InputControlScheme KeyboardMouseScheme
{
get
{
if (m_KeyboardMouseSchemeIndex == -1) m_KeyboardMouseSchemeIndex = asset.FindControlSchemeIndex("Keyboard&Mouse");
return asset.controlSchemes[m_KeyboardMouseSchemeIndex];
}
}
private int m_GamepadSchemeIndex = -1;
/// <summary>
/// Provides access to the input control scheme.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
public InputControlScheme GamepadScheme
{
get
{
if (m_GamepadSchemeIndex == -1) m_GamepadSchemeIndex = asset.FindControlSchemeIndex("Gamepad");
return asset.controlSchemes[m_GamepadSchemeIndex];
}
}
private int m_TouchSchemeIndex = -1;
/// <summary>
/// Provides access to the input control scheme.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
public InputControlScheme TouchScheme
{
get
{
if (m_TouchSchemeIndex == -1) m_TouchSchemeIndex = asset.FindControlSchemeIndex("Touch");
return asset.controlSchemes[m_TouchSchemeIndex];
}
}
private int m_JoystickSchemeIndex = -1;
/// <summary>
/// Provides access to the input control scheme.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
public InputControlScheme JoystickScheme
{
get
{
if (m_JoystickSchemeIndex == -1) m_JoystickSchemeIndex = asset.FindControlSchemeIndex("Joystick");
return asset.controlSchemes[m_JoystickSchemeIndex];
}
}
private int m_XRSchemeIndex = -1;
/// <summary>
/// Provides access to the input control scheme.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
public InputControlScheme XRScheme
{
get
{
if (m_XRSchemeIndex == -1) m_XRSchemeIndex = asset.FindControlSchemeIndex("XR");
return asset.controlSchemes[m_XRSchemeIndex];
}
}
/// <summary>
/// Interface to implement callback methods for all input action callbacks associated with input actions defined by "Player" which allows adding and removing callbacks.
/// </summary>
/// <seealso cref="PlayerActions.AddCallbacks(IPlayerActions)" />
/// <seealso cref="PlayerActions.RemoveCallbacks(IPlayerActions)" />
public interface IPlayerActions
{
/// <summary>
/// Method invoked when associated input action "Move" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnMove(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Look" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnLook(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Zoom" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnZoom(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Jump" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnJump(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Run" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnRun(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Op1" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnOp1(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Op2" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnOp2(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "SelectItem" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnSelectItem(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "SelectBait" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnSelectBait(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "SelectFood" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnSelectFood(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "UseTorch" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnUseTorch(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "UseTelescope" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnUseTelescope(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "UseBrail" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnUseBrail(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "AddBob" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnAddBob(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "SubBob" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnSubBob(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "ToBag" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnToBag(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Help" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnHelp(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Chat" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnChat(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Info" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnInfo(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Skill" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnSkill(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "OpenBag" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnOpenBag(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Keepnet" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnKeepnet(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Make" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnMake(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Map" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnMap(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick1" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick1(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick2" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick2(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick3" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick3(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick4" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick4(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick5" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick5(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick6" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick6(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick7" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick7(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick8" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick8(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Quick9" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnQuick9(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Use1" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnUse1(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Use2" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnUse2(InputAction.CallbackContext context);
}
/// <summary>
/// Interface to implement callback methods for all input action callbacks associated with input actions defined by "UI" which allows adding and removing callbacks.
/// </summary>
/// <seealso cref="UIActions.AddCallbacks(IUIActions)" />
/// <seealso cref="UIActions.RemoveCallbacks(IUIActions)" />
public interface IUIActions
{
/// <summary>
/// Method invoked when associated input action "Roll" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnRoll(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Back" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnBack(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Enter" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnEnter(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Tab" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnTab(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Prev" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnPrev(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Next" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnNext(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "SubPrev" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnSubPrev(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "SubNext" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnSubNext(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Right" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnRight(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Left" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnLeft(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Down" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnDown(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Up" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnUp(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "New action" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnNewaction(InputAction.CallbackContext context);
}
}
}