//------------------------------------------------------------------------------ // // This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator // version 1.14.0 // from Assets/Common/Scriptables/Input/Input Asset.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; namespace OctoberStudio.Input { /// /// Provides programmatic access to , , and instances defined in asset "Assets/Common/Scriptables/Input/Input Asset.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 @InputAsset: IInputActionCollection2, IDisposable { /// /// Provides access to the underlying asset instance. /// public InputActionAsset asset { get; } /// /// Constructs a new instance. /// public @InputAsset() { asset = InputActionAsset.FromJson(@"{ ""name"": ""Input Asset"", ""maps"": [ { ""name"": ""UI"", ""id"": ""50af9c32-32fb-463a-a7af-8afaf2d714e0"", ""actions"": [ { ""name"": ""Navigate"", ""type"": ""PassThrough"", ""id"": ""1b6dda82-37fd-45ec-bedd-6c0f76582ee0"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Submit"", ""type"": ""Button"", ""id"": ""aeb13082-95ca-45c1-a4f9-00d608970183"", ""expectedControlType"": """", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Cancel"", ""type"": ""Button"", ""id"": ""9c1cf580-a5eb-48c6-a06d-eaea93c23f4b"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Point"", ""type"": ""PassThrough"", ""id"": ""d9b4d54d-cd86-464d-875e-d3ec3c22a23b"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true }, { ""name"": ""Click"", ""type"": ""PassThrough"", ""id"": ""3d9eced1-adfe-4c9d-b372-5d210036faed"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true }, { ""name"": ""ScrollWheel"", ""type"": ""PassThrough"", ""id"": ""3c2b6ff3-d47d-4ba5-a0f5-a216190d9e6d"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""MiddleClick"", ""type"": ""PassThrough"", ""id"": ""16469400-08c6-4601-8608-9f22a8b399b9"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""RightClick"", ""type"": ""PassThrough"", ""id"": ""8b746729-9776-4df3-8659-01b13a7251d5"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""TrackedDevicePosition"", ""type"": ""PassThrough"", ""id"": ""34f481e1-ed00-4499-9325-6572e40783d8"", ""expectedControlType"": ""Vector3"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""TrackedDeviceOrientation"", ""type"": ""PassThrough"", ""id"": ""67d63bdf-ebfd-47fd-a7b9-988f30bba763"", ""expectedControlType"": ""Quaternion"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Settings"", ""type"": ""Button"", ""id"": ""8c4869cc-1b58-4308-a65d-d0c544f0e81f"", ""expectedControlType"": """", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Back"", ""type"": ""Button"", ""id"": ""04fb652d-370d-4a97-859a-1b6e79482d6f"", ""expectedControlType"": """", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false } ], ""bindings"": [ { ""name"": ""Keyboard + Gamepad"", ""id"": ""d25bbf4a-8f7b-4052-9ef7-bfb136aea4d9"", ""path"": ""2DVector"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Navigate"", ""isComposite"": true, ""isPartOfComposite"": false }, { ""name"": ""up"", ""id"": ""147e974e-98da-4212-bd1e-92ad111b7319"", ""path"": ""/dpad/up"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""up"", ""id"": ""30c72160-8424-4a97-965c-aa9ca764f8c0"", ""path"": ""/leftStick/up"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""up"", ""id"": ""3b095139-6ce1-473f-994a-58c0149d1099"", ""path"": ""/rightStick/up"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""up"", ""id"": ""21ae3883-97d6-48cf-a4f1-735836f58e13"", ""path"": ""/w"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""up"", ""id"": ""22e9ac83-a424-4e7f-8db2-bdbfb18f5a0e"", ""path"": ""/upArrow"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""8be9114e-72ec-4507-9c12-7aec7de0a153"", ""path"": ""/s"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""53d1f9f1-b8d6-428a-acfa-b61596d6370c"", ""path"": ""/downArrow"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""4629e567-b549-4e7b-a8a0-bbc11f186e74"", ""path"": ""/dpad/down"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""40b0d7ef-d1a3-4fa7-bd0f-c4e1cd95dd56"", ""path"": ""/rightStick/down"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""de195aef-4a52-4e64-ad83-d5624e31ecb5"", ""path"": ""/leftStick/down"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""40a1d720-57a4-4be2-b8ab-84892fc96534"", ""path"": ""/a"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""6e7722b2-d652-412a-8b2f-45c10fb10223"", ""path"": ""/dpad/left"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""9e07e9e3-03ee-4226-ba32-a4ef63755f13"", ""path"": ""/leftArrow"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""34cd991b-a6e8-4c0e-b79c-d71143dcb2e3"", ""path"": ""/leftStick/left"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""b5437223-5d57-45ec-8dff-062890a4dff1"", ""path"": ""/rightStick/left"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""1c274c26-cf8b-4aaa-8212-20bbdda103ef"", ""path"": ""/d"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""7381988e-cfcc-436e-9866-0f22db0a756a"", ""path"": ""/dpad/right"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""51f6812a-e970-4e94-9361-a527a423ba4a"", ""path"": ""/rightArrow"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""4e64bbac-e27a-466e-9fef-545da4ec6eb3"", ""path"": ""/leftStick/right"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""8aa5bd55-e74c-43ee-83af-005fc6556347"", ""path"": ""/rightStick/right"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Navigate"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": """", ""id"": ""6cef517f-936f-4c10-b3a9-a8b80c1e9929"", ""path"": ""*/{Submit}"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse;Gamepad;Touch;Joystick;XR"", ""action"": ""Submit"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""246d67ac-ab10-4d03-8d8f-a1e89117f4cc"", ""path"": ""*/{Cancel}"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse;Gamepad;Touch;Joystick;XR"", ""action"": ""Cancel"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""a5d2f2c6-10dc-4b46-bd8b-8f3fce5a6316"", ""path"": ""/position"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Point"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""12c0d0aa-1a3c-46da-a911-02a051d0fddc"", ""path"": ""/position"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard&Mouse"", ""action"": ""Point"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""c52492a9-436a-4990-9e5f-068583d64646"", ""path"": ""/touch*/position"", ""interactions"": """", ""processors"": """", ""groups"": ""Touch"", ""action"": ""Point"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""c641e96d-4c62-4408-918d-0f184779d979"", ""path"": ""/leftButton"", ""interactions"": """", ""processors"": """", ""groups"": "";Keyboard&Mouse"", ""action"": ""Click"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""8814af5b-93eb-4b21-9d11-e1f389ad75a8"", ""path"": ""/tip"", ""interactions"": """", ""processors"": """", ""groups"": "";Keyboard&Mouse"", ""action"": ""Click"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""76234c62-7de0-4aef-9f4a-a3211087a7a9"", ""path"": ""/touch*/press"", ""interactions"": """", ""processors"": """", ""groups"": ""Touch"", ""action"": ""Click"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""09580589-3d05-4278-8bbc-9df53d92e54e"", ""path"": ""/trigger"", ""interactions"": """", ""processors"": """", ""groups"": ""XR"", ""action"": ""Click"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""f8428ba9-8435-420b-85d6-f7c8f3fd2fcd"", ""path"": ""/scroll"", ""interactions"": """", ""processors"": """", ""groups"": "";Keyboard&Mouse"", ""action"": ""ScrollWheel"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""220e7efb-0248-4707-b7b0-beb311f6be51"", ""path"": ""/middleButton"", ""interactions"": """", ""processors"": """", ""groups"": "";Keyboard&Mouse"", ""action"": ""MiddleClick"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""942c9c7d-f0e7-4eac-a43c-a197605de6fc"", ""path"": ""/rightButton"", ""interactions"": """", ""processors"": """", ""groups"": "";Keyboard&Mouse"", ""action"": ""RightClick"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""0da093d6-16cc-4032-b233-a8a2ea0a7d1b"", ""path"": ""/devicePosition"", ""interactions"": """", ""processors"": """", ""groups"": ""XR"", ""action"": ""TrackedDevicePosition"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""8b710af9-e09a-446b-970a-70e2bec9dec3"", ""path"": ""/deviceRotation"", ""interactions"": """", ""processors"": """", ""groups"": ""XR"", ""action"": ""TrackedDeviceOrientation"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""eba1ec34-7fc0-4f3c-8789-5a24c0740e36"", ""path"": ""/start"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Settings"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""9792a891-e213-4619-920a-921b910ebf4b"", ""path"": ""/escape"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Settings"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""51302fcd-cdde-4a25-8d1c-f4b4fb5b772b"", ""path"": ""/buttonEast"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Back"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""7bf3df04-dec2-4c80-827e-ec40cbbc5d3a"", ""path"": ""/escape"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Back"", ""isComposite"": false, ""isPartOfComposite"": false } ] }, { ""name"": ""Gameplay"", ""id"": ""9c1b9a89-bb44-4f74-8237-7a7ecd9aee39"", ""actions"": [ { ""name"": ""Movement"", ""type"": ""Value"", ""id"": ""b6182fb5-fa2e-44c7-ac4b-9ce9b495bd70"", ""expectedControlType"": """", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true } ], ""bindings"": [ { ""name"": """", ""id"": ""bccb1f33-4c44-40a9-aacf-3ebee1a94fa8"", ""path"": ""/rightStick"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""b6ca725e-4b49-4669-90d0-f3fc67b22f79"", ""path"": ""/leftStick"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": ""2D Vector"", ""id"": ""5873bfde-773e-42e0-be85-df3a71ee5803"", ""path"": ""2DVector"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": true, ""isPartOfComposite"": false }, { ""name"": ""up"", ""id"": ""59fa4bc8-978f-4369-befb-a6d30d46e92e"", ""path"": ""/w"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""765efef6-124c-42e4-9912-957ada1a9bb1"", ""path"": ""/s"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""9f09d33f-e1b8-44f8-a830-5438d4d02cf2"", ""path"": ""/a"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""13c9faa7-cf30-4ba7-920c-b122b2925cfa"", ""path"": ""/d"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""2D Vector"", ""id"": ""bef5c591-64c1-45ef-9aca-7a23020692a4"", ""path"": ""2DVector"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": true, ""isPartOfComposite"": false }, { ""name"": ""up"", ""id"": ""1052f62a-7a61-4b05-8742-ae7d1d026c41"", ""path"": ""/upArrow"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""008aa109-de7b-4d03-805d-5abd01725ea5"", ""path"": ""/downArrow"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""c8a9d196-9312-4f02-a1af-c949ca03e6c6"", ""path"": ""/leftArrow"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""535837a0-32d6-4404-8e35-d1b6be443bd5"", ""path"": ""/rightArrow"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true } ] }, { ""name"": ""GamepadDetection"", ""id"": ""dfa65681-b47b-4f50-b854-4e2427daef3c"", ""actions"": [ { ""name"": ""Detection"", ""type"": ""Button"", ""id"": ""59249538-795c-4f8f-9c75-01415fe4fa47"", ""expectedControlType"": """", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false } ], ""bindings"": [ { ""name"": """", ""id"": ""56eb4e7e-59dc-4e94-9bb7-404c9c4c9e0f"", ""path"": ""/leftStick/left"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""76b674e8-e902-4938-8613-49c1aa0f9d00"", ""path"": ""/leftStick/right"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""dc582e88-c75e-42b3-adff-7438cdbb7f09"", ""path"": ""/leftStick/up"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""212b6a1c-b8dd-41f1-ad9c-a9e5e718508d"", ""path"": ""/leftStick/down"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""b59d93b4-3244-40bb-83da-41d17564513e"", ""path"": ""/leftStickPress"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""886dd0fd-490f-42b4-84d6-33a9d9d1c083"", ""path"": ""/rightStick/left"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""682be512-ad24-4b45-a61f-072351257c6f"", ""path"": ""/rightStick/right"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""4ef09cb0-eb2a-498e-8994-a7a68d402312"", ""path"": ""/rightStick/up"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""6c091d6f-66ae-409b-a4df-4d727ec5329f"", ""path"": ""/rightStick/down"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""44811768-26ca-461d-b91b-6e08accac771"", ""path"": ""/rightStickPress"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""67aa8c2b-562e-4b3a-bbc5-880691b36bdb"", ""path"": ""/dpad/up"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""378b55e6-7193-4273-8384-72847925a681"", ""path"": ""/dpad/down"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""cb654c3a-9e7c-4176-99cf-5f8ea5a99115"", ""path"": ""/dpad/left"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""231f3dec-c144-451b-8a8e-b64c2070452e"", ""path"": ""/dpad/right"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""aa299ea0-97bd-4028-8e32-1c99926d1dba"", ""path"": ""/buttonWest"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""96ac4093-e2cd-4289-93f7-58fcffa8fed5"", ""path"": ""/buttonNorth"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""ef9a284c-879d-4294-8c1d-9ae3236a8c36"", ""path"": ""/buttonEast"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""c074c7fd-194c-4699-b375-cb14bb621b93"", ""path"": ""/buttonSouth"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""3e1f9f2b-698d-44ba-90ec-15f133c1f6bc"", ""path"": ""/leftTrigger"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""d4c59614-b838-4c56-a04e-df7b36ccca55"", ""path"": ""/rightTrigger"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""8c3d3a04-5fab-4e88-b942-a8d3d65fdd3b"", ""path"": ""/leftShoulder"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""db1f5da4-d5b6-4ba1-b60d-2e997117ef06"", ""path"": ""/rightShoulder"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""118a862a-d3ee-4a33-ac0e-e60e21464534"", ""path"": ""/select"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""12d59a01-7cb2-4612-9885-f916c23b6fe6"", ""path"": ""/start"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""db56ec94-f050-45c6-aae1-e9f75ffd14bb"", ""path"": ""/systemButton"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Detection"", ""isComposite"": false, ""isPartOfComposite"": false } ] } ], ""controlSchemes"": [ { ""name"": ""Keyboard"", ""bindingGroup"": ""Keyboard"", ""devices"": [ { ""devicePath"": """", ""isOptional"": false, ""isOR"": false }, { ""devicePath"": """", ""isOptional"": false, ""isOR"": false } ] }, { ""name"": ""Gamepad"", ""bindingGroup"": ""Gamepad"", ""devices"": [ { ""devicePath"": """", ""isOptional"": false, ""isOR"": false } ] } ] }"); // 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_Settings = m_UI.FindAction("Settings", throwIfNotFound: true); m_UI_Back = m_UI.FindAction("Back", throwIfNotFound: true); // Gameplay m_Gameplay = asset.FindActionMap("Gameplay", throwIfNotFound: true); m_Gameplay_Movement = m_Gameplay.FindAction("Movement", throwIfNotFound: true); // GamepadDetection m_GamepadDetection = asset.FindActionMap("GamepadDetection", throwIfNotFound: true); m_GamepadDetection_Detection = m_GamepadDetection.FindAction("Detection", throwIfNotFound: true); } ~@InputAsset() { UnityEngine.Debug.Assert(!m_UI.enabled, "This will cause a leak and performance issues, InputAsset.UI.Disable() has not been called."); UnityEngine.Debug.Assert(!m_Gameplay.enabled, "This will cause a leak and performance issues, InputAsset.Gameplay.Disable() has not been called."); UnityEngine.Debug.Assert(!m_GamepadDetection.enabled, "This will cause a leak and performance issues, InputAsset.GamepadDetection.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); } // 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_Settings; private readonly InputAction m_UI_Back; /// /// Provides access to input actions defined in input action map "UI". /// public struct UIActions { private @InputAsset m_Wrapper; /// /// Construct a new instance of the input action map wrapper class. /// public UIActions(@InputAsset 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/Settings". /// public InputAction @Settings => m_Wrapper.m_UI_Settings; /// /// Provides access to the underlying input action "UI/Back". /// public InputAction @Back => m_Wrapper.m_UI_Back; /// /// 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; @Settings.started += instance.OnSettings; @Settings.performed += instance.OnSettings; @Settings.canceled += instance.OnSettings; @Back.started += instance.OnBack; @Back.performed += instance.OnBack; @Back.canceled += instance.OnBack; } /// /// 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; @Settings.started -= instance.OnSettings; @Settings.performed -= instance.OnSettings; @Settings.canceled -= instance.OnSettings; @Back.started -= instance.OnBack; @Back.performed -= instance.OnBack; @Back.canceled -= instance.OnBack; } /// /// 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); // Gameplay private readonly InputActionMap m_Gameplay; private List m_GameplayActionsCallbackInterfaces = new List(); private readonly InputAction m_Gameplay_Movement; /// /// Provides access to input actions defined in input action map "Gameplay". /// public struct GameplayActions { private @InputAsset m_Wrapper; /// /// Construct a new instance of the input action map wrapper class. /// public GameplayActions(@InputAsset wrapper) { m_Wrapper = wrapper; } /// /// Provides access to the underlying input action "Gameplay/Movement". /// public InputAction @Movement => m_Wrapper.m_Gameplay_Movement; /// /// 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); @Movement.started += instance.OnMovement; @Movement.performed += instance.OnMovement; @Movement.canceled += instance.OnMovement; } /// /// 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) { @Movement.started -= instance.OnMovement; @Movement.performed -= instance.OnMovement; @Movement.canceled -= instance.OnMovement; } /// /// 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); // GamepadDetection private readonly InputActionMap m_GamepadDetection; private List m_GamepadDetectionActionsCallbackInterfaces = new List(); private readonly InputAction m_GamepadDetection_Detection; /// /// Provides access to input actions defined in input action map "GamepadDetection". /// public struct GamepadDetectionActions { private @InputAsset m_Wrapper; /// /// Construct a new instance of the input action map wrapper class. /// public GamepadDetectionActions(@InputAsset wrapper) { m_Wrapper = wrapper; } /// /// Provides access to the underlying input action "GamepadDetection/Detection". /// public InputAction @Detection => m_Wrapper.m_GamepadDetection_Detection; /// /// Provides access to the underlying input action map instance. /// public InputActionMap Get() { return m_Wrapper.m_GamepadDetection; } /// 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(GamepadDetectionActions 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(IGamepadDetectionActions instance) { if (instance == null || m_Wrapper.m_GamepadDetectionActionsCallbackInterfaces.Contains(instance)) return; m_Wrapper.m_GamepadDetectionActionsCallbackInterfaces.Add(instance); @Detection.started += instance.OnDetection; @Detection.performed += instance.OnDetection; @Detection.canceled += instance.OnDetection; } /// /// 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(IGamepadDetectionActions instance) { @Detection.started -= instance.OnDetection; @Detection.performed -= instance.OnDetection; @Detection.canceled -= instance.OnDetection; } /// /// Unregisters and unregisters all input action callbacks via . /// /// public void RemoveCallbacks(IGamepadDetectionActions instance) { if (m_Wrapper.m_GamepadDetectionActionsCallbackInterfaces.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(IGamepadDetectionActions instance) { foreach (var item in m_Wrapper.m_GamepadDetectionActionsCallbackInterfaces) UnregisterCallbacks(item); m_Wrapper.m_GamepadDetectionActionsCallbackInterfaces.Clear(); AddCallbacks(instance); } } /// /// Provides a new instance referencing this action map. /// public GamepadDetectionActions @GamepadDetection => new GamepadDetectionActions(this); private int m_KeyboardSchemeIndex = -1; /// /// Provides access to the input control scheme. /// /// public InputControlScheme KeyboardScheme { get { if (m_KeyboardSchemeIndex == -1) m_KeyboardSchemeIndex = asset.FindControlSchemeIndex("Keyboard"); return asset.controlSchemes[m_KeyboardSchemeIndex]; } } 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 "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 "Settings" is either , or . /// /// /// /// void OnSettings(InputAction.CallbackContext context); /// /// Method invoked when associated input action "Back" is either , or . /// /// /// /// void OnBack(InputAction.CallbackContext context); } /// /// 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 "Movement" is either , or . /// /// /// /// void OnMovement(InputAction.CallbackContext context); } /// /// Interface to implement callback methods for all input action callbacks associated with input actions defined by "GamepadDetection" which allows adding and removing callbacks. /// /// /// public interface IGamepadDetectionActions { /// /// Method invoked when associated input action "Detection" is either , or . /// /// /// /// void OnDetection(InputAction.CallbackContext context); } } }