//------------------------------------------------------------------------------
//
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
// version 1.14.2
// from Assets/_Game/Settings/PlayerInputActions.inputactions
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;
///
/// Provides programmatic access to , , and instances defined in asset "Assets/_Game/Settings/PlayerInputActions.inputactions".
///
///
/// This class is source generated and any manual edits will be discarded if the associated asset is reimported or modified.
///
///
///
/// 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<Vector2>()}");
/// }
///
/// // Invoked when "Attack" action is either started, performed or canceled.
/// public void OnAttack(InputAction.CallbackContext context)
/// {
/// Debug.Log($"OnAttack: {context.ReadValue<float>()}");
/// }
///
/// #endregion
/// }
///
///
public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
{
///
/// Provides access to the underlying asset instance.
///
public InputActionAsset asset { get; }
///
/// Constructs a new instance.
///
public @PlayerInputActions()
{
asset = InputActionAsset.FromJson(@"{
""version"": 1,
""name"": ""PlayerInputActions"",
""maps"": [
{
""name"": ""Gameplay"",
""id"": ""90bd98d7-0ab2-4ddb-8bda-5bfc6024b1aa"",
""actions"": [
{
""name"": ""Move"",
""type"": ""Value"",
""id"": ""f8621671-e257-429a-a12c-2bfb1b6fa21c"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""Jump"",
""type"": ""Button"",
""id"": ""3e1fe2bd-b388-4d52-8fb3-dfcf600f7b7c"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Attack"",
""type"": ""Button"",
""id"": ""1bae501d-f515-4208-bd9e-594badc7654a"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""DownAttack"",
""type"": ""Button"",
""id"": ""6780773f-fbf3-4839-9e65-2a29c2401fa6"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""UpAttack"",
""type"": ""Button"",
""id"": ""2723de56-6408-4d6e-8056-0cb072462797"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Parry"",
""type"": ""Button"",
""id"": ""48970a05-4ed8-448a-b444-025ae53d81dc"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Dash"",
""type"": ""Button"",
""id"": ""ed351b14-2906-4142-aa33-e72a90cbde33"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""UseSpring"",
""type"": ""Button"",
""id"": ""a5cb6f2b-fa3f-4b59-9971-96111fa1fb1a"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SwitchSkyForm"",
""type"": ""Button"",
""id"": ""288ba219-3999-4951-95a5-7f59de67e9c2"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SwitchEarthForm"",
""type"": ""Button"",
""id"": ""1ebc4d85-1cd6-4730-abac-6020f74787e1"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SwitchDeathForm"",
""type"": ""Button"",
""id"": ""1d80c36d-a347-44ac-9498-f3bb262f5643"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SoulSkill"",
""type"": ""Button"",
""id"": ""32319b84-683d-4f2d-83ba-05b51ea9b1ca"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SpiritSkill1"",
""type"": ""Button"",
""id"": ""30295ff0-4361-4869-8d1f-50e1771aa5bb"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""SpiritSkill2"",
""type"": ""Button"",
""id"": ""f22da5d3-02d8-4b2c-a75b-354780638972"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Interact"",
""type"": ""Button"",
""id"": ""80cc682b-d9e7-4116-ab8a-f9b2547e4b30"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Pause"",
""type"": ""Button"",
""id"": ""b15ae123-2d81-4473-a16f-dc7f1a9d3527"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Spell"",
""type"": ""Button"",
""id"": ""7fa3801f-a2db-4ea0-a8f4-2ed90f7ecd8f"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Inventory"",
""type"": ""Button"",
""id"": ""a1b2c3d4-e5f6-7890-abcd-ef1234567890"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
}
],
""bindings"": [
{
""name"": """",
""id"": ""f47bddd8-497c-4b20-bd20-49e3bf22cc1f"",
""path"": ""/leftStick"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""2D Vector"",
""id"": ""60516856-67c8-42b6-8790-cd6dc65f9c36"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Move"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""2390c2cd-0e96-46fe-a8bf-a1dcc56e2be2"",
""path"": ""/w"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""4add46ae-9c9a-4385-81a0-5cd650aa89a6"",
""path"": ""/s"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""1b048b38-9e8d-43c5-b799-84eb988a7d3d"",
""path"": ""/a"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""72376aca-dc3f-4bf7-b498-7e7a5cf2d530"",
""path"": ""/d"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""d08d6693-130a-4115-ad04-76943aecd650"",
""path"": ""/space"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a796967d-fc1d-4140-9ec5-1fc31c2e6baf"",
""path"": ""/buttonSouth"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""048f33fb-9cff-4f7e-abbf-af978b2734ba"",
""path"": ""/j"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Attack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b26ed3a0-a5cd-4326-8082-188ccc5ecf03"",
""path"": ""/buttonWest"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Attack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""749d0374-1b13-48cc-9e09-c879439cb8da"",
""path"": ""/k"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""DownAttack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""acc3f1fb-d8a8-4914-a699-588289eaa7f9"",
""path"": ""/buttonEast"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""DownAttack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""3188507c-2cef-4027-a705-af55ba1fffef"",
""path"": ""/i"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""UpAttack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""54b289ce-cb61-4cca-a190-2b483a489e2b"",
""path"": ""/buttonNorth"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""UpAttack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""16cbcd15-0ad3-4401-a36b-58a0bbe39aa8"",
""path"": ""/l"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Parry"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f7003344-a4b2-4d6b-aec9-ab45664171fe"",
""path"": ""/leftShoulder"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Parry"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""16a77134-efeb-48dc-a30d-ae14ef71f84f"",
""path"": ""/shift"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Dash"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""7ac6ff49-9207-4c08-b4b4-9e5d31340cc9"",
""path"": ""/leftStickPress"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Dash"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""60a4ecba-d76b-4b51-bae0-020cef911f06"",
""path"": ""/e"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""UseSpring"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""46863b31-cbac-43c3-af77-3271044cf4d3"",
""path"": ""/1"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""SwitchSkyForm"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f50059a4-af56-4421-a26d-a08140691a8d"",
""path"": ""/2"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""SwitchEarthForm"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d3f987a2-c41b-4467-9869-6cfc6956447a"",
""path"": ""/3"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""SwitchDeathForm"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""edb60745-4100-4170-811a-4cbaacaf0ec3"",
""path"": ""/q"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""SoulSkill"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f942e098-a2e7-4946-9bfd-35066c91af6c"",
""path"": ""/z"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""SpiritSkill1"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""0fe48fca-f061-4a3c-ab5a-e722985734e5"",
""path"": ""/x"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""SpiritSkill2"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""53b11fff-1bba-4875-818f-f432e0947f29"",
""path"": ""/f"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Interact"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b034df3b-f4ba-4ac7-94ca-67aa7ebb2a44"",
""path"": ""/buttonSouth"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Interact"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""86509f63-b138-46ba-8e3b-9ae716574965"",
""path"": ""/escape"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Pause"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""67a6ab61-7698-4e80-8129-97285585eaff"",
""path"": ""/start"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Pause"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d10abe98-84d1-4c7f-a6d2-5f1919026dd5"",
""path"": """",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Spell"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b2c3d4e5-f6a1-8901-bcde-f12345678901"",
""path"": ""/tab"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Inventory"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""c3d4e5f6-a1b2-9012-cdef-012345678902"",
""path"": ""/select"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Inventory"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
},
{
""name"": ""UI"",
""id"": ""ba1e4240-82fc-40d3-ac98-5fe1f6ed88c0"",
""actions"": [
{
""name"": ""Navigate"",
""type"": ""PassThrough"",
""id"": ""f8fcd154-d35c-40b0-b99a-0d1df5fa2e1f"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Submit"",
""type"": ""Button"",
""id"": ""0deec593-3bdc-4a97-9b78-bc841ed7d75c"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Cancel"",
""type"": ""Button"",
""id"": ""b304717b-ed90-4179-8543-fac11a253476"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Point"",
""type"": ""PassThrough"",
""id"": ""97dfade5-1878-4e11-8309-5a63013df36b"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""Click"",
""type"": ""PassThrough"",
""id"": ""1f4a2847-9ec5-474b-9743-5f4ff65a2479"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""ScrollWheel"",
""type"": ""PassThrough"",
""id"": ""7139aa93-a0de-4ac9-9f0d-b804e9d38c30"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""MiddleClick"",
""type"": ""PassThrough"",
""id"": ""9e9a8297-7298-4c98-94f5-dba6950ea2ba"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""RightClick"",
""type"": ""PassThrough"",
""id"": ""a9dfbbec-1954-43bb-ba82-9553ef02752c"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""TrackedDevicePosition"",
""type"": ""PassThrough"",
""id"": ""8e630404-0267-4c8f-af31-a26398ce7cf9"",
""expectedControlType"": ""Vector3"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""TrackedDeviceOrientation"",
""type"": ""PassThrough"",
""id"": ""8657997d-5de9-4a9e-bd3e-e9b00f9f8791"",
""expectedControlType"": ""Quaternion"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""CycleMinimapZoom"",
""type"": ""Button"",
""id"": ""d4e5f6a1-b2c3-0123-def0-123456789003"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""MapCenter"",
""type"": ""Button"",
""id"": ""a1b2c3d4-e5f6-3456-0123-456789000006"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""InventoryTabNext"",
""type"": ""Button"",
""id"": ""c3d4e5f6-a1b2-5678-2345-678900000008"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""InventoryTabPrev"",
""type"": ""Button"",
""id"": ""f6a1b2c3-d4e5-8901-5678-900000000011"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
}
],
""bindings"": [
{
""name"": ""Gamepad"",
""id"": ""1d26a74e-68cf-48c7-85f2-c85244e2c86f"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""b489e707-914b-4478-b911-10e75a73e5c2"",
""path"": ""/leftStick/up"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""up"",
""id"": ""10f2d6a4-94da-4d79-88cc-a9dadadfa120"",
""path"": ""/rightStick/up"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""ddd79bd5-5503-4eab-aca2-93d92575a84a"",
""path"": ""/leftStick/down"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""9b164cbe-a66c-4caf-ba09-a6f84b36475a"",
""path"": ""/rightStick/down"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""b59f3f33-9730-422a-99c1-2695cec5e48a"",
""path"": ""/leftStick/left"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""506400ef-6960-4032-9624-6ec131423eb2"",
""path"": ""/rightStick/left"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""2c07c3b4-699b-4dde-ab28-5bd8f190eaf3"",
""path"": ""/leftStick/right"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""6a545dc0-75d7-4556-8af8-c060d951a2c2"",
""path"": ""/rightStick/right"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""38b742b3-8125-485c-ab6d-8bfe034acb78"",
""path"": ""/dpad"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""Joystick"",
""id"": ""707eaebc-a6db-449c-9c83-ae6773cdcaf7"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""9714a5ad-d5fb-44c3-be0f-a134a5ddb03b"",
""path"": ""/stick/up"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""9eef44a9-6c59-4dba-9e52-1a51edf8255e"",
""path"": ""/stick/down"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""75219c79-9470-41e8-88ef-a35eb5d532a5"",
""path"": ""/stick/left"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""0eb30457-c8b6-426a-bd9a-919d3d720fef"",
""path"": ""/stick/right"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard"",
""id"": ""d19dae69-faee-40a3-87c0-a292c879607d"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""f1745283-5e7c-4121-a44e-91e4a12a86a2"",
""path"": ""/w"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""up"",
""id"": ""fec1489f-16c5-49ea-8be3-f29336444c5a"",
""path"": ""/upArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""f10707c9-071c-41f2-b97f-5f46cb95b15e"",
""path"": ""/s"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""be8f5a8e-a4a9-4bbe-91a8-ae2811ff9696"",
""path"": ""/downArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""78875792-1535-4c46-9fad-6b6c7ae75bcd"",
""path"": ""/a"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""fba38f2f-4996-47fc-b369-8480e9593f0b"",
""path"": ""/leftArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""3fa9923b-edfb-4def-abf8-801b7d9e77ca"",
""path"": ""/d"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""aa7524f2-5737-44b0-8783-6e7a722ccdd5"",
""path"": ""/rightArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""5632ce4b-cb65-4d5a-a133-262727b68139"",
""path"": ""/start"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""Cancel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""5ef7192c-3c67-4fff-b29a-b21377bbc430"",
""path"": ""*/{Submit}"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse;Gamepad;Touch;Joystick;XR"",
""action"": ""Submit"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""e6b74122-53a6-4ad1-85fb-dce8de71bf51"",
""path"": ""/escape"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse;Gamepad;Touch;Joystick;XR"",
""action"": ""Cancel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""448f17c8-8894-41c7-b41b-f39fceb9928f"",
""path"": ""/position"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Point"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""8ac9363b-5554-4db1-921a-76f0cd7c4630"",
""path"": ""/position"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Point"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""80efa3a9-c91c-428c-8f39-6d2924cbaae2"",
""path"": ""/touch*/position"",
""interactions"": """",
""processors"": """",
""groups"": ""Touch"",
""action"": ""Point"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""7ea9b409-669b-46f6-b0af-c717a1406c95"",
""path"": ""/leftButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""0b684379-4daa-4656-9253-d07b04775dd2"",
""path"": ""/tip"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f4d64e59-b1a7-4517-9a7a-39972e4ae64a"",
""path"": ""/touch*/press"",
""interactions"": """",
""processors"": """",
""groups"": ""Touch"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""1910f113-09ab-4ef0-b126-6a638f38e7d1"",
""path"": ""/trigger"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""954897cb-1087-472a-b353-b041397ef647"",
""path"": ""/scroll"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""ScrollWheel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""591b8687-9f7e-498c-9cb6-aeafaa9013e7"",
""path"": ""/middleButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""MiddleClick"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""790f83ba-a25d-4b98-ab40-e38af127bf61"",
""path"": ""/rightButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""RightClick"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""26afc077-19d7-4014-984e-7ec31b029ec7"",
""path"": ""/devicePosition"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""TrackedDevicePosition"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""e4e7f9d2-6793-4d26-a064-5502fb8a94b1"",
""path"": ""/deviceRotation"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""TrackedDeviceOrientation"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a1b2c3d4-e5f6-0001-0001-000000000101"",
""path"": ""/m"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""CycleMinimapZoom"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a1b2c3d4-e5f6-0001-0001-000000000102"",
""path"": ""/rightStickPress"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""CycleMinimapZoom"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a1b2c3d4-e5f6-0001-0001-000000000103"",
""path"": ""/c"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""MapCenter"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a1b2c3d4-e5f6-0001-0001-000000000104"",
""path"": ""/buttonNorth"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""MapCenter"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a1b2c3d4-e5f6-0001-0001-000000000105"",
""path"": ""/e"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""InventoryTabNext"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a1b2c3d4-e5f6-0001-0001-000000000106"",
""path"": ""/rightShoulder"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""InventoryTabNext"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a1b2c3d4-e5f6-0001-0001-000000000107"",
""path"": ""/q"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""InventoryTabPrev"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a1b2c3d4-e5f6-0001-0001-000000000108"",
""path"": ""/leftShoulder"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad"",
""action"": ""InventoryTabPrev"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
}
],
""controlSchemes"": [
{
""name"": ""Keyboard&Mouse"",
""bindingGroup"": ""Keyboard&Mouse"",
""devices"": [
{
""devicePath"": """",
""isOptional"": false,
""isOR"": false
},
{
""devicePath"": """",
""isOptional"": true,
""isOR"": false
}
]
},
{
""name"": ""Gamepad"",
""bindingGroup"": ""Gamepad"",
""devices"": [
{
""devicePath"": """",
""isOptional"": false,
""isOR"": false
}
]
}
]
}");
// Gameplay
m_Gameplay = asset.FindActionMap("Gameplay", throwIfNotFound: true);
m_Gameplay_Move = m_Gameplay.FindAction("Move", throwIfNotFound: true);
m_Gameplay_Jump = m_Gameplay.FindAction("Jump", throwIfNotFound: true);
m_Gameplay_Attack = m_Gameplay.FindAction("Attack", throwIfNotFound: true);
m_Gameplay_DownAttack = m_Gameplay.FindAction("DownAttack", throwIfNotFound: true);
m_Gameplay_UpAttack = m_Gameplay.FindAction("UpAttack", throwIfNotFound: true);
m_Gameplay_Parry = m_Gameplay.FindAction("Parry", throwIfNotFound: true);
m_Gameplay_Dash = m_Gameplay.FindAction("Dash", throwIfNotFound: true);
m_Gameplay_UseSpring = m_Gameplay.FindAction("UseSpring", throwIfNotFound: true);
m_Gameplay_SwitchSkyForm = m_Gameplay.FindAction("SwitchSkyForm", throwIfNotFound: true);
m_Gameplay_SwitchEarthForm = m_Gameplay.FindAction("SwitchEarthForm", throwIfNotFound: true);
m_Gameplay_SwitchDeathForm = m_Gameplay.FindAction("SwitchDeathForm", throwIfNotFound: true);
m_Gameplay_SoulSkill = m_Gameplay.FindAction("SoulSkill", throwIfNotFound: true);
m_Gameplay_SpiritSkill1 = m_Gameplay.FindAction("SpiritSkill1", throwIfNotFound: true);
m_Gameplay_SpiritSkill2 = m_Gameplay.FindAction("SpiritSkill2", throwIfNotFound: true);
m_Gameplay_Interact = m_Gameplay.FindAction("Interact", throwIfNotFound: true);
m_Gameplay_Pause = m_Gameplay.FindAction("Pause", throwIfNotFound: true);
m_Gameplay_Spell = m_Gameplay.FindAction("Spell", throwIfNotFound: true);
m_Gameplay_Inventory = m_Gameplay.FindAction("Inventory", throwIfNotFound: true);
// UI
m_UI = asset.FindActionMap("UI", throwIfNotFound: true);
m_UI_Navigate = m_UI.FindAction("Navigate", throwIfNotFound: true);
m_UI_Submit = m_UI.FindAction("Submit", throwIfNotFound: true);
m_UI_Cancel = m_UI.FindAction("Cancel", throwIfNotFound: true);
m_UI_Point = m_UI.FindAction("Point", throwIfNotFound: true);
m_UI_Click = m_UI.FindAction("Click", throwIfNotFound: true);
m_UI_ScrollWheel = m_UI.FindAction("ScrollWheel", throwIfNotFound: true);
m_UI_MiddleClick = m_UI.FindAction("MiddleClick", throwIfNotFound: true);
m_UI_RightClick = m_UI.FindAction("RightClick", throwIfNotFound: true);
m_UI_TrackedDevicePosition = m_UI.FindAction("TrackedDevicePosition", throwIfNotFound: true);
m_UI_TrackedDeviceOrientation = m_UI.FindAction("TrackedDeviceOrientation", throwIfNotFound: true);
m_UI_CycleMinimapZoom = m_UI.FindAction("CycleMinimapZoom", throwIfNotFound: true);
m_UI_MapCenter = m_UI.FindAction("MapCenter", throwIfNotFound: true);
m_UI_InventoryTabNext = m_UI.FindAction("InventoryTabNext", throwIfNotFound: true);
m_UI_InventoryTabPrev = m_UI.FindAction("InventoryTabPrev", throwIfNotFound: true);
}
~@PlayerInputActions()
{
UnityEngine.Debug.Assert(!m_Gameplay.enabled, "This will cause a leak and performance issues, PlayerInputActions.Gameplay.Disable() has not been called.");
UnityEngine.Debug.Assert(!m_UI.enabled, "This will cause a leak and performance issues, PlayerInputActions.UI.Disable() has not been called.");
}
///
/// Destroys this asset and all associated instances.
///
public void Dispose()
{
UnityEngine.Object.Destroy(asset);
}
///
public InputBinding? bindingMask
{
get => asset.bindingMask;
set => asset.bindingMask = value;
}
///
public ReadOnlyArray? devices
{
get => asset.devices;
set => asset.devices = value;
}
///
public ReadOnlyArray controlSchemes => asset.controlSchemes;
///
public bool Contains(InputAction action)
{
return asset.Contains(action);
}
///
public IEnumerator GetEnumerator()
{
return asset.GetEnumerator();
}
///
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
///
public void Enable()
{
asset.Enable();
}
///
public void Disable()
{
asset.Disable();
}
///
public IEnumerable bindings => asset.bindings;
///
public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)
{
return asset.FindAction(actionNameOrId, throwIfNotFound);
}
///
public int FindBinding(InputBinding bindingMask, out InputAction action)
{
return asset.FindBinding(bindingMask, out action);
}
// Gameplay
private readonly InputActionMap m_Gameplay;
private List m_GameplayActionsCallbackInterfaces = new List();
private readonly InputAction m_Gameplay_Move;
private readonly InputAction m_Gameplay_Jump;
private readonly InputAction m_Gameplay_Attack;
private readonly InputAction m_Gameplay_DownAttack;
private readonly InputAction m_Gameplay_UpAttack;
private readonly InputAction m_Gameplay_Parry;
private readonly InputAction m_Gameplay_Dash;
private readonly InputAction m_Gameplay_UseSpring;
private readonly InputAction m_Gameplay_SwitchSkyForm;
private readonly InputAction m_Gameplay_SwitchEarthForm;
private readonly InputAction m_Gameplay_SwitchDeathForm;
private readonly InputAction m_Gameplay_SoulSkill;
private readonly InputAction m_Gameplay_SpiritSkill1;
private readonly InputAction m_Gameplay_SpiritSkill2;
private readonly InputAction m_Gameplay_Interact;
private readonly InputAction m_Gameplay_Pause;
private readonly InputAction m_Gameplay_Spell;
private readonly InputAction m_Gameplay_Inventory;
///
/// Provides access to input actions defined in input action map "Gameplay".
///
public struct GameplayActions
{
private @PlayerInputActions m_Wrapper;
///
/// Construct a new instance of the input action map wrapper class.
///
public GameplayActions(@PlayerInputActions wrapper) { m_Wrapper = wrapper; }
///
/// Provides access to the underlying input action "Gameplay/Move".
///
public InputAction @Move => m_Wrapper.m_Gameplay_Move;
///
/// Provides access to the underlying input action "Gameplay/Jump".
///
public InputAction @Jump => m_Wrapper.m_Gameplay_Jump;
///
/// Provides access to the underlying input action "Gameplay/Attack".
///
public InputAction @Attack => m_Wrapper.m_Gameplay_Attack;
///
/// Provides access to the underlying input action "Gameplay/DownAttack".
///
public InputAction @DownAttack => m_Wrapper.m_Gameplay_DownAttack;
///
/// Provides access to the underlying input action "Gameplay/UpAttack".
///
public InputAction @UpAttack => m_Wrapper.m_Gameplay_UpAttack;
///
/// Provides access to the underlying input action "Gameplay/Parry".
///
public InputAction @Parry => m_Wrapper.m_Gameplay_Parry;
///
/// Provides access to the underlying input action "Gameplay/Dash".
///
public InputAction @Dash => m_Wrapper.m_Gameplay_Dash;
///
/// Provides access to the underlying input action "Gameplay/UseSpring".
///
public InputAction @UseSpring => m_Wrapper.m_Gameplay_UseSpring;
///
/// Provides access to the underlying input action "Gameplay/SwitchSkyForm".
///
public InputAction @SwitchSkyForm => m_Wrapper.m_Gameplay_SwitchSkyForm;
///
/// Provides access to the underlying input action "Gameplay/SwitchEarthForm".
///
public InputAction @SwitchEarthForm => m_Wrapper.m_Gameplay_SwitchEarthForm;
///
/// Provides access to the underlying input action "Gameplay/SwitchDeathForm".
///
public InputAction @SwitchDeathForm => m_Wrapper.m_Gameplay_SwitchDeathForm;
///
/// Provides access to the underlying input action "Gameplay/SoulSkill".
///
public InputAction @SoulSkill => m_Wrapper.m_Gameplay_SoulSkill;
///
/// Provides access to the underlying input action "Gameplay/SpiritSkill1".
///
public InputAction @SpiritSkill1 => m_Wrapper.m_Gameplay_SpiritSkill1;
///
/// Provides access to the underlying input action "Gameplay/SpiritSkill2".
///
public InputAction @SpiritSkill2 => m_Wrapper.m_Gameplay_SpiritSkill2;
///
/// Provides access to the underlying input action "Gameplay/Interact".
///
public InputAction @Interact => m_Wrapper.m_Gameplay_Interact;
///
/// Provides access to the underlying input action "Gameplay/Pause".
///
public InputAction @Pause => m_Wrapper.m_Gameplay_Pause;
///
/// Provides access to the underlying input action "Gameplay/Spell".
///
public InputAction @Spell => m_Wrapper.m_Gameplay_Spell;
///
/// Provides access to the underlying input action "Gameplay/Inventory".
///
public InputAction @Inventory => m_Wrapper.m_Gameplay_Inventory;
///
/// Provides access to the underlying input action map instance.
///
public InputActionMap Get() { return m_Wrapper.m_Gameplay; }
///
public void Enable() { Get().Enable(); }
///
public void Disable() { Get().Disable(); }
///
public bool enabled => Get().enabled;
///
/// Implicitly converts an to an instance.
///
public static implicit operator InputActionMap(GameplayActions set) { return set.Get(); }
///
/// Adds , and callbacks provided via on all input actions contained in this map.
///
/// Callback instance.
///
/// If is null or have already been added this method does nothing.
///
///
public void AddCallbacks(IGameplayActions instance)
{
if (instance == null || m_Wrapper.m_GameplayActionsCallbackInterfaces.Contains(instance)) return;
m_Wrapper.m_GameplayActionsCallbackInterfaces.Add(instance);
@Move.started += instance.OnMove;
@Move.performed += instance.OnMove;
@Move.canceled += instance.OnMove;
@Jump.started += instance.OnJump;
@Jump.performed += instance.OnJump;
@Jump.canceled += instance.OnJump;
@Attack.started += instance.OnAttack;
@Attack.performed += instance.OnAttack;
@Attack.canceled += instance.OnAttack;
@DownAttack.started += instance.OnDownAttack;
@DownAttack.performed += instance.OnDownAttack;
@DownAttack.canceled += instance.OnDownAttack;
@UpAttack.started += instance.OnUpAttack;
@UpAttack.performed += instance.OnUpAttack;
@UpAttack.canceled += instance.OnUpAttack;
@Parry.started += instance.OnParry;
@Parry.performed += instance.OnParry;
@Parry.canceled += instance.OnParry;
@Dash.started += instance.OnDash;
@Dash.performed += instance.OnDash;
@Dash.canceled += instance.OnDash;
@UseSpring.started += instance.OnUseSpring;
@UseSpring.performed += instance.OnUseSpring;
@UseSpring.canceled += instance.OnUseSpring;
@SwitchSkyForm.started += instance.OnSwitchSkyForm;
@SwitchSkyForm.performed += instance.OnSwitchSkyForm;
@SwitchSkyForm.canceled += instance.OnSwitchSkyForm;
@SwitchEarthForm.started += instance.OnSwitchEarthForm;
@SwitchEarthForm.performed += instance.OnSwitchEarthForm;
@SwitchEarthForm.canceled += instance.OnSwitchEarthForm;
@SwitchDeathForm.started += instance.OnSwitchDeathForm;
@SwitchDeathForm.performed += instance.OnSwitchDeathForm;
@SwitchDeathForm.canceled += instance.OnSwitchDeathForm;
@SoulSkill.started += instance.OnSoulSkill;
@SoulSkill.performed += instance.OnSoulSkill;
@SoulSkill.canceled += instance.OnSoulSkill;
@SpiritSkill1.started += instance.OnSpiritSkill1;
@SpiritSkill1.performed += instance.OnSpiritSkill1;
@SpiritSkill1.canceled += instance.OnSpiritSkill1;
@SpiritSkill2.started += instance.OnSpiritSkill2;
@SpiritSkill2.performed += instance.OnSpiritSkill2;
@SpiritSkill2.canceled += instance.OnSpiritSkill2;
@Interact.started += instance.OnInteract;
@Interact.performed += instance.OnInteract;
@Interact.canceled += instance.OnInteract;
@Pause.started += instance.OnPause;
@Pause.performed += instance.OnPause;
@Pause.canceled += instance.OnPause;
@Spell.started += instance.OnSpell;
@Spell.performed += instance.OnSpell;
@Spell.canceled += instance.OnSpell;
@Inventory.started += instance.OnInventory;
@Inventory.performed += instance.OnInventory;
@Inventory.canceled += instance.OnInventory;
}
///
/// Removes , and callbacks provided via on all input actions contained in this map.
///
///
/// Calling this method when have not previously been registered has no side-effects.
///
///
private void UnregisterCallbacks(IGameplayActions instance)
{
@Move.started -= instance.OnMove;
@Move.performed -= instance.OnMove;
@Move.canceled -= instance.OnMove;
@Jump.started -= instance.OnJump;
@Jump.performed -= instance.OnJump;
@Jump.canceled -= instance.OnJump;
@Attack.started -= instance.OnAttack;
@Attack.performed -= instance.OnAttack;
@Attack.canceled -= instance.OnAttack;
@DownAttack.started -= instance.OnDownAttack;
@DownAttack.performed -= instance.OnDownAttack;
@DownAttack.canceled -= instance.OnDownAttack;
@UpAttack.started -= instance.OnUpAttack;
@UpAttack.performed -= instance.OnUpAttack;
@UpAttack.canceled -= instance.OnUpAttack;
@Parry.started -= instance.OnParry;
@Parry.performed -= instance.OnParry;
@Parry.canceled -= instance.OnParry;
@Dash.started -= instance.OnDash;
@Dash.performed -= instance.OnDash;
@Dash.canceled -= instance.OnDash;
@UseSpring.started -= instance.OnUseSpring;
@UseSpring.performed -= instance.OnUseSpring;
@UseSpring.canceled -= instance.OnUseSpring;
@SwitchSkyForm.started -= instance.OnSwitchSkyForm;
@SwitchSkyForm.performed -= instance.OnSwitchSkyForm;
@SwitchSkyForm.canceled -= instance.OnSwitchSkyForm;
@SwitchEarthForm.started -= instance.OnSwitchEarthForm;
@SwitchEarthForm.performed -= instance.OnSwitchEarthForm;
@SwitchEarthForm.canceled -= instance.OnSwitchEarthForm;
@SwitchDeathForm.started -= instance.OnSwitchDeathForm;
@SwitchDeathForm.performed -= instance.OnSwitchDeathForm;
@SwitchDeathForm.canceled -= instance.OnSwitchDeathForm;
@SoulSkill.started -= instance.OnSoulSkill;
@SoulSkill.performed -= instance.OnSoulSkill;
@SoulSkill.canceled -= instance.OnSoulSkill;
@SpiritSkill1.started -= instance.OnSpiritSkill1;
@SpiritSkill1.performed -= instance.OnSpiritSkill1;
@SpiritSkill1.canceled -= instance.OnSpiritSkill1;
@SpiritSkill2.started -= instance.OnSpiritSkill2;
@SpiritSkill2.performed -= instance.OnSpiritSkill2;
@SpiritSkill2.canceled -= instance.OnSpiritSkill2;
@Interact.started -= instance.OnInteract;
@Interact.performed -= instance.OnInteract;
@Interact.canceled -= instance.OnInteract;
@Pause.started -= instance.OnPause;
@Pause.performed -= instance.OnPause;
@Pause.canceled -= instance.OnPause;
@Spell.started -= instance.OnSpell;
@Spell.performed -= instance.OnSpell;
@Spell.canceled -= instance.OnSpell;
@Inventory.started -= instance.OnInventory;
@Inventory.performed -= instance.OnInventory;
@Inventory.canceled -= instance.OnInventory;
}
///
/// Unregisters and unregisters all input action callbacks via .
///
///
public void RemoveCallbacks(IGameplayActions instance)
{
if (m_Wrapper.m_GameplayActionsCallbackInterfaces.Remove(instance))
UnregisterCallbacks(instance);
}
///
/// Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .
///
///
/// If is null, calling this method will only unregister all existing callbacks but not register any new callbacks.
///
///
///
///
public void SetCallbacks(IGameplayActions instance)
{
foreach (var item in m_Wrapper.m_GameplayActionsCallbackInterfaces)
UnregisterCallbacks(item);
m_Wrapper.m_GameplayActionsCallbackInterfaces.Clear();
AddCallbacks(instance);
}
}
///
/// Provides a new instance referencing this action map.
///
public GameplayActions @Gameplay => new GameplayActions(this);
// UI
private readonly InputActionMap m_UI;
private List m_UIActionsCallbackInterfaces = new List();
private readonly InputAction m_UI_Navigate;
private readonly InputAction m_UI_Submit;
private readonly InputAction m_UI_Cancel;
private readonly InputAction m_UI_Point;
private readonly InputAction m_UI_Click;
private readonly InputAction m_UI_ScrollWheel;
private readonly InputAction m_UI_MiddleClick;
private readonly InputAction m_UI_RightClick;
private readonly InputAction m_UI_TrackedDevicePosition;
private readonly InputAction m_UI_TrackedDeviceOrientation;
private readonly InputAction m_UI_CycleMinimapZoom;
private readonly InputAction m_UI_MapCenter;
private readonly InputAction m_UI_InventoryTabNext;
private readonly InputAction m_UI_InventoryTabPrev;
///
/// Provides access to input actions defined in input action map "UI".
///
public struct UIActions
{
private @PlayerInputActions m_Wrapper;
///
/// Construct a new instance of the input action map wrapper class.
///
public UIActions(@PlayerInputActions wrapper) { m_Wrapper = wrapper; }
///
/// Provides access to the underlying input action "UI/Navigate".
///
public InputAction @Navigate => m_Wrapper.m_UI_Navigate;
///
/// Provides access to the underlying input action "UI/Submit".
///
public InputAction @Submit => m_Wrapper.m_UI_Submit;
///
/// Provides access to the underlying input action "UI/Cancel".
///
public InputAction @Cancel => m_Wrapper.m_UI_Cancel;
///
/// Provides access to the underlying input action "UI/Point".
///
public InputAction @Point => m_Wrapper.m_UI_Point;
///
/// Provides access to the underlying input action "UI/Click".
///
public InputAction @Click => m_Wrapper.m_UI_Click;
///
/// Provides access to the underlying input action "UI/ScrollWheel".
///
public InputAction @ScrollWheel => m_Wrapper.m_UI_ScrollWheel;
///
/// Provides access to the underlying input action "UI/MiddleClick".
///
public InputAction @MiddleClick => m_Wrapper.m_UI_MiddleClick;
///
/// Provides access to the underlying input action "UI/RightClick".
///
public InputAction @RightClick => m_Wrapper.m_UI_RightClick;
///
/// Provides access to the underlying input action "UI/TrackedDevicePosition".
///
public InputAction @TrackedDevicePosition => m_Wrapper.m_UI_TrackedDevicePosition;
///
/// Provides access to the underlying input action "UI/TrackedDeviceOrientation".
///
public InputAction @TrackedDeviceOrientation => m_Wrapper.m_UI_TrackedDeviceOrientation;
///
/// Provides access to the underlying input action "UI/CycleMinimapZoom".
///
public InputAction @CycleMinimapZoom => m_Wrapper.m_UI_CycleMinimapZoom;
///
/// Provides access to the underlying input action "UI/MapCenter".
///
public InputAction @MapCenter => m_Wrapper.m_UI_MapCenter;
///
/// Provides access to the underlying input action "UI/InventoryTabNext".
///
public InputAction @InventoryTabNext => m_Wrapper.m_UI_InventoryTabNext;
///
/// Provides access to the underlying input action "UI/InventoryTabPrev".
///
public InputAction @InventoryTabPrev => m_Wrapper.m_UI_InventoryTabPrev;
///
/// Provides access to the underlying input action map instance.
///
public InputActionMap Get() { return m_Wrapper.m_UI; }
///
public void Enable() { Get().Enable(); }
///
public void Disable() { Get().Disable(); }
///
public bool enabled => Get().enabled;
///
/// Implicitly converts an to an instance.
///
public static implicit operator InputActionMap(UIActions set) { return set.Get(); }
///
/// Adds , and callbacks provided via on all input actions contained in this map.
///
/// Callback instance.
///
/// If is null or have already been added this method does nothing.
///
///
public void AddCallbacks(IUIActions instance)
{
if (instance == null || m_Wrapper.m_UIActionsCallbackInterfaces.Contains(instance)) return;
m_Wrapper.m_UIActionsCallbackInterfaces.Add(instance);
@Navigate.started += instance.OnNavigate;
@Navigate.performed += instance.OnNavigate;
@Navigate.canceled += instance.OnNavigate;
@Submit.started += instance.OnSubmit;
@Submit.performed += instance.OnSubmit;
@Submit.canceled += instance.OnSubmit;
@Cancel.started += instance.OnCancel;
@Cancel.performed += instance.OnCancel;
@Cancel.canceled += instance.OnCancel;
@Point.started += instance.OnPoint;
@Point.performed += instance.OnPoint;
@Point.canceled += instance.OnPoint;
@Click.started += instance.OnClick;
@Click.performed += instance.OnClick;
@Click.canceled += instance.OnClick;
@ScrollWheel.started += instance.OnScrollWheel;
@ScrollWheel.performed += instance.OnScrollWheel;
@ScrollWheel.canceled += instance.OnScrollWheel;
@MiddleClick.started += instance.OnMiddleClick;
@MiddleClick.performed += instance.OnMiddleClick;
@MiddleClick.canceled += instance.OnMiddleClick;
@RightClick.started += instance.OnRightClick;
@RightClick.performed += instance.OnRightClick;
@RightClick.canceled += instance.OnRightClick;
@TrackedDevicePosition.started += instance.OnTrackedDevicePosition;
@TrackedDevicePosition.performed += instance.OnTrackedDevicePosition;
@TrackedDevicePosition.canceled += instance.OnTrackedDevicePosition;
@TrackedDeviceOrientation.started += instance.OnTrackedDeviceOrientation;
@TrackedDeviceOrientation.performed += instance.OnTrackedDeviceOrientation;
@TrackedDeviceOrientation.canceled += instance.OnTrackedDeviceOrientation;
@CycleMinimapZoom.started += instance.OnCycleMinimapZoom;
@CycleMinimapZoom.performed += instance.OnCycleMinimapZoom;
@CycleMinimapZoom.canceled += instance.OnCycleMinimapZoom;
@MapCenter.started += instance.OnMapCenter;
@MapCenter.performed += instance.OnMapCenter;
@MapCenter.canceled += instance.OnMapCenter;
@InventoryTabNext.started += instance.OnInventoryTabNext;
@InventoryTabNext.performed += instance.OnInventoryTabNext;
@InventoryTabNext.canceled += instance.OnInventoryTabNext;
@InventoryTabPrev.started += instance.OnInventoryTabPrev;
@InventoryTabPrev.performed += instance.OnInventoryTabPrev;
@InventoryTabPrev.canceled += instance.OnInventoryTabPrev;
}
///
/// Removes , and callbacks provided via on all input actions contained in this map.
///
///
/// Calling this method when have not previously been registered has no side-effects.
///
///
private void UnregisterCallbacks(IUIActions instance)
{
@Navigate.started -= instance.OnNavigate;
@Navigate.performed -= instance.OnNavigate;
@Navigate.canceled -= instance.OnNavigate;
@Submit.started -= instance.OnSubmit;
@Submit.performed -= instance.OnSubmit;
@Submit.canceled -= instance.OnSubmit;
@Cancel.started -= instance.OnCancel;
@Cancel.performed -= instance.OnCancel;
@Cancel.canceled -= instance.OnCancel;
@Point.started -= instance.OnPoint;
@Point.performed -= instance.OnPoint;
@Point.canceled -= instance.OnPoint;
@Click.started -= instance.OnClick;
@Click.performed -= instance.OnClick;
@Click.canceled -= instance.OnClick;
@ScrollWheel.started -= instance.OnScrollWheel;
@ScrollWheel.performed -= instance.OnScrollWheel;
@ScrollWheel.canceled -= instance.OnScrollWheel;
@MiddleClick.started -= instance.OnMiddleClick;
@MiddleClick.performed -= instance.OnMiddleClick;
@MiddleClick.canceled -= instance.OnMiddleClick;
@RightClick.started -= instance.OnRightClick;
@RightClick.performed -= instance.OnRightClick;
@RightClick.canceled -= instance.OnRightClick;
@TrackedDevicePosition.started -= instance.OnTrackedDevicePosition;
@TrackedDevicePosition.performed -= instance.OnTrackedDevicePosition;
@TrackedDevicePosition.canceled -= instance.OnTrackedDevicePosition;
@TrackedDeviceOrientation.started -= instance.OnTrackedDeviceOrientation;
@TrackedDeviceOrientation.performed -= instance.OnTrackedDeviceOrientation;
@TrackedDeviceOrientation.canceled -= instance.OnTrackedDeviceOrientation;
@CycleMinimapZoom.started -= instance.OnCycleMinimapZoom;
@CycleMinimapZoom.performed -= instance.OnCycleMinimapZoom;
@CycleMinimapZoom.canceled -= instance.OnCycleMinimapZoom;
@MapCenter.started -= instance.OnMapCenter;
@MapCenter.performed -= instance.OnMapCenter;
@MapCenter.canceled -= instance.OnMapCenter;
@InventoryTabNext.started -= instance.OnInventoryTabNext;
@InventoryTabNext.performed -= instance.OnInventoryTabNext;
@InventoryTabNext.canceled -= instance.OnInventoryTabNext;
@InventoryTabPrev.started -= instance.OnInventoryTabPrev;
@InventoryTabPrev.performed -= instance.OnInventoryTabPrev;
@InventoryTabPrev.canceled -= instance.OnInventoryTabPrev;
}
///
/// Unregisters and unregisters all input action callbacks via .
///
///
public void RemoveCallbacks(IUIActions instance)
{
if (m_Wrapper.m_UIActionsCallbackInterfaces.Remove(instance))
UnregisterCallbacks(instance);
}
///
/// Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via .
///
///
/// If is null, calling this method will only unregister all existing callbacks but not register any new callbacks.
///
///
///
///
public void SetCallbacks(IUIActions instance)
{
foreach (var item in m_Wrapper.m_UIActionsCallbackInterfaces)
UnregisterCallbacks(item);
m_Wrapper.m_UIActionsCallbackInterfaces.Clear();
AddCallbacks(instance);
}
}
///
/// Provides a new instance referencing this action map.
///
public UIActions @UI => new UIActions(this);
private int m_KeyboardMouseSchemeIndex = -1;
///
/// Provides access to the input control scheme.
///
///
public InputControlScheme KeyboardMouseScheme
{
get
{
if (m_KeyboardMouseSchemeIndex == -1) m_KeyboardMouseSchemeIndex = asset.FindControlSchemeIndex("Keyboard&Mouse");
return asset.controlSchemes[m_KeyboardMouseSchemeIndex];
}
}
private int m_GamepadSchemeIndex = -1;
///
/// Provides access to the input control scheme.
///
///
public InputControlScheme GamepadScheme
{
get
{
if (m_GamepadSchemeIndex == -1) m_GamepadSchemeIndex = asset.FindControlSchemeIndex("Gamepad");
return asset.controlSchemes[m_GamepadSchemeIndex];
}
}
///
/// Interface to implement callback methods for all input action callbacks associated with input actions defined by "Gameplay" which allows adding and removing callbacks.
///
///
///
public interface IGameplayActions
{
///
/// Method invoked when associated input action "Move" is either , or .
///
///
///
///
void OnMove(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Jump" is either , or .
///
///
///
///
void OnJump(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Attack" is either , or .
///
///
///
///
void OnAttack(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "DownAttack" is either , or .
///
///
///
///
void OnDownAttack(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "UpAttack" is either , or .
///
///
///
///
void OnUpAttack(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Parry" is either , or .
///
///
///
///
void OnParry(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Dash" is either , or .
///
///
///
///
void OnDash(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "UseSpring" is either , or .
///
///
///
///
void OnUseSpring(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "SwitchSkyForm" is either , or .
///
///
///
///
void OnSwitchSkyForm(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "SwitchEarthForm" is either , or .
///
///
///
///
void OnSwitchEarthForm(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "SwitchDeathForm" is either , or .
///
///
///
///
void OnSwitchDeathForm(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "SoulSkill" is either , or .
///
///
///
///
void OnSoulSkill(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "SpiritSkill1" is either , or .
///
///
///
///
void OnSpiritSkill1(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "SpiritSkill2" is either , or .
///
///
///
///
void OnSpiritSkill2(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Interact" is either , or .
///
///
///
///
void OnInteract(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Pause" is either , or .
///
///
///
///
void OnPause(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Spell" is either , or .
///
///
///
///
void OnSpell(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Inventory" is either , or .
///
///
///
///
void OnInventory(InputAction.CallbackContext context);
}
///
/// Interface to implement callback methods for all input action callbacks associated with input actions defined by "UI" which allows adding and removing callbacks.
///
///
///
public interface IUIActions
{
///
/// Method invoked when associated input action "Navigate" is either , or .
///
///
///
///
void OnNavigate(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Submit" is either , or .
///
///
///
///
void OnSubmit(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Cancel" is either , or .
///
///
///
///
void OnCancel(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Point" is either , or .
///
///
///
///
void OnPoint(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "Click" is either , or .
///
///
///
///
void OnClick(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "ScrollWheel" is either , or .
///
///
///
///
void OnScrollWheel(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "MiddleClick" is either , or .
///
///
///
///
void OnMiddleClick(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "RightClick" is either , or .
///
///
///
///
void OnRightClick(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "TrackedDevicePosition" is either , or .
///
///
///
///
void OnTrackedDevicePosition(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "TrackedDeviceOrientation" is either , or .
///
///
///
///
void OnTrackedDeviceOrientation(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "CycleMinimapZoom" is either , or .
///
///
///
///
void OnCycleMinimapZoom(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "MapCenter" is either , or .
///
///
///
///
void OnMapCenter(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "InventoryTabNext" is either , or .
///
///
///
///
void OnInventoryTabNext(InputAction.CallbackContext context);
///
/// Method invoked when associated input action "InventoryTabPrev" is either , or .
///
///
///
///
void OnInventoryTabPrev(InputAction.CallbackContext context);
}
}