//------------------------------------------------------------------------------ // // This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator // version 1.5.1 // from Assets/BITKit/Configs/Input/BITController.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 BITKit.UniversalInputSystem { public partial class @BITController: IInputActionCollection2, IDisposable { public InputActionAsset asset { get; } public @BITController() { asset = InputActionAsset.FromJson(@"{ ""name"": ""BITController"", ""maps"": [ { ""name"": ""Gameplay"", ""id"": ""805585ca-18a2-4297-ae73-d629fca48f37"", ""actions"": [ { ""name"": ""Movement"", ""type"": ""Value"", ""id"": ""7888a87e-e25a-414c-aeed-a860bac3b7ee"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true }, { ""name"": ""View"", ""type"": ""Value"", ""id"": ""4cdfd68d-e93f-4b05-b279-4b784c30add9"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true }, { ""name"": ""Jump"", ""type"": ""Button"", ""id"": ""4b120382-bb53-4e70-a3b2-f729f05aa3bd"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Crouch"", ""type"": ""Button"", ""id"": ""eab8ff36-98a9-4a2d-8393-167d9347227b"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": ""Tap"", ""initialStateCheck"": false }, { ""name"": ""HoldCrouch"", ""type"": ""Button"", ""id"": ""07dfe885-d709-4482-9686-57f671b1aed6"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Fire"", ""type"": ""Button"", ""id"": ""9db494c5-bec3-4b09-bd5f-66ba07a3a729"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Aim"", ""type"": ""Button"", ""id"": ""f521b9d3-bfbb-4ce2-85c8-15cb3fcc2534"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Interactive"", ""type"": ""Button"", ""id"": ""9b32c7f1-0553-4735-b0f9-7726d59808ca"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": ""Hold,Tap"", ""initialStateCheck"": false }, { ""name"": ""Melee"", ""type"": ""Button"", ""id"": ""0afd994b-f97e-4198-8700-5f570d3b7b56"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Run"", ""type"": ""Button"", ""id"": ""95bba0fe-8e29-470a-a7ef-126b21ea4b5c"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""RunHold"", ""type"": ""Button"", ""id"": ""8516e405-2adc-4968-beea-5c751244f6ae"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Reload"", ""type"": ""Button"", ""id"": ""53f6beb0-aeec-43f0-aa36-f4d54f068d75"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Ability"", ""type"": ""Button"", ""id"": ""139ccb5b-f6c3-4277-9de0-fd605a767106"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": ""Hold,Tap"", ""initialStateCheck"": false }, { ""name"": ""Primary"", ""type"": ""Button"", ""id"": ""113a3c02-0fbb-4081-9fac-c39878ddfd09"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Secondary"", ""type"": ""Button"", ""id"": ""57a12f28-2fde-45e5-957f-d8d61afe44de"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Tertiary"", ""type"": ""Button"", ""id"": ""c2535f43-fec8-42bd-b680-6d1cee5246e5"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Quaternary"", ""type"": ""Button"", ""id"": ""6740f3a7-7571-4277-96e9-15aa08af7302"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Quinary"", ""type"": ""Button"", ""id"": ""97511588-e441-4e27-953e-e60cbea80489"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Senary"", ""type"": ""Button"", ""id"": ""46173186-2ef3-4ab9-8ff4-b94cc113df67"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Septenary"", ""type"": ""Button"", ""id"": ""3f9d16c8-f5d7-4445-9b80-8e1291c61d6c"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Octonary"", ""type"": ""Button"", ""id"": ""b86726fd-50f7-4cb1-af85-5d349d9da8a2"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Nonary"", ""type"": ""Button"", ""id"": ""75582570-fed7-4ea1-8b8b-be8605fd1994"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Denary"", ""type"": ""Button"", ""id"": ""5d582298-f3c5-43aa-aaf5-b0a224501dbc"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false } ], ""bindings"": [ { ""name"": """", ""id"": ""778009a2-29a3-4521-a007-0690c76fc749"", ""path"": ""/delta"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""View"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""3204e30b-6062-47f0-9af6-e72db104c7ec"", ""path"": ""/space"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Jump"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""c6f71c75-cb44-418b-9dc0-4202757d20ad"", ""path"": ""/x"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Crouch"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""ad8529d0-2894-4cb2-aea4-f07f96251032"", ""path"": ""/leftCtrl"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""HoldCrouch"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""7d6d9c3f-2ca5-4296-a456-3d69165339d5"", ""path"": ""/leftButton"", ""interactions"": ""Hold,Tap,Press"", ""processors"": """", ""groups"": """", ""action"": ""Fire"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""05431a8a-4464-49e0-8a15-eec2a4351985"", ""path"": ""/rightButton"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Aim"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""9a305ecb-00ee-46fb-be5b-f58125ac34eb"", ""path"": ""/e"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Melee"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": ""2D Vector"", ""id"": ""f2793bde-975d-41cf-b721-4ea21c2cfe7d"", ""path"": ""2DVector"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": true, ""isPartOfComposite"": false }, { ""name"": ""up"", ""id"": ""f9faf502-6e13-4904-bc3f-0309f9aebca0"", ""path"": ""/w"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""7e3cfeea-3b34-4e31-9beb-2474e29ab625"", ""path"": ""/s"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""4f27e4eb-2a37-43e0-be6c-70aaf4116adc"", ""path"": ""/a"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""64c2080b-0cfc-4517-abb9-49306d4490dc"", ""path"": ""/d"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Movement"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": """", ""id"": ""71cd9f74-3291-4638-8025-7fd327b8697b"", ""path"": ""/shift"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Run"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""c5d22fdc-5c3d-465a-9ff8-20b556803110"", ""path"": """", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""RunHold"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""b8ca7195-54e8-472e-9849-378ea8b1b2d4"", ""path"": ""/1"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Primary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""04d5ca1b-6419-4855-be21-f4059c40c39b"", ""path"": ""/2"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Secondary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""32f844f5-9135-45dd-8b60-fff383116343"", ""path"": ""/3"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Tertiary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""7c1c1f5f-fc8f-4fc7-898b-e91edbc3da99"", ""path"": ""/4"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Quaternary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""34950bd8-44ba-4c49-9399-24cd0f7c9b4f"", ""path"": ""/6"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Senary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""4fa5c1aa-c84f-40d2-9187-c8e8d7684700"", ""path"": ""/7"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Septenary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""ba665a37-f25c-4d86-98d9-de2c66642df8"", ""path"": ""/8"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Octonary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""a7b2abba-ce1a-42ff-9034-760dc3a28e30"", ""path"": ""/9"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Nonary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""df621c9b-4178-49ee-b902-86aed7976326"", ""path"": ""/0"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Denary"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""ec9743ab-8ffc-4bb3-958a-e39e18011a29"", ""path"": ""/q"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Ability"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""0325ef26-c146-42d7-83bc-912428c5843c"", ""path"": ""/f"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Interactive"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""abfe62ef-1678-40c6-85e4-7644a3ffffc3"", ""path"": ""/r"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Reload"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""c354e7ce-0648-4b49-b042-1f7dfc7657d9"", ""path"": ""/5"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Quinary"", ""isComposite"": false, ""isPartOfComposite"": false } ] }, { ""name"": ""UI"", ""id"": ""c7695309-4936-4f2e-b8ef-3ea1f04d5355"", ""actions"": [ { ""name"": ""Point"", ""type"": ""Value"", ""id"": ""b368d616-dcad-4ba2-9335-827b70fb9cdd"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true }, { ""name"": ""LeftClick"", ""type"": ""Button"", ""id"": ""f5306c13-bfdd-4e07-b7b2-399a39d7b742"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""MiddleClick"", ""type"": ""Button"", ""id"": ""e2277a17-11a1-4421-874d-4b500a1f5050"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""RightClick"", ""type"": ""Button"", ""id"": ""51889fb1-c111-40b7-a9d5-8f15c4b6263a"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""ScrollWheel"", ""type"": ""Value"", ""id"": ""755e538c-525c-4118-957e-153c1aca3cdc"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true }, { ""name"": ""Move"", ""type"": ""Value"", ""id"": ""41f5a93a-5347-4df7-ae8d-13b7509863a8"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true }, { ""name"": ""Submit"", ""type"": ""Button"", ""id"": ""a75fa2aa-b549-487b-820e-79736ce2014c"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Cancel"", ""type"": ""Button"", ""id"": ""60dfbf31-4ec8-4df1-be35-9f1eca07d7be"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""TrackedPosition"", ""type"": ""Button"", ""id"": ""28048cc9-e92b-405f-87a5-72bc4b1e111f"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""TrackedOrientation"", ""type"": ""Button"", ""id"": ""5fec2cac-e85c-4889-85d1-187e89f9e6d8"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Inventory"", ""type"": ""Button"", ""id"": ""80289a66-dc26-4d9e-967d-a561bb8794e3"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Delta"", ""type"": ""Value"", ""id"": ""358073e4-3059-4d77-85c2-7ef65f87e83a"", ""expectedControlType"": ""Vector2"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": true } ], ""bindings"": [ { ""name"": """", ""id"": ""b9391453-7d21-4e93-9d0f-0d97d1512021"", ""path"": ""/position"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Point"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""39028ab4-2f9f-43b2-99f6-6689cbc29e17"", ""path"": ""/leftButton"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""LeftClick"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""8da63730-a0f6-4864-9ac9-1f87bd66b2c9"", ""path"": ""/middleButton"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""MiddleClick"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""d47105bc-8bbe-4246-9ad4-f58af65d92d2"", ""path"": ""/rightButton"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""RightClick"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""da25f185-b985-48c2-8be1-de3ae19b4bbe"", ""path"": ""/scroll"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""ScrollWheel"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""e63df971-14a3-414e-8b73-49d62b85f116"", ""path"": ""/enter"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Submit"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""46f082d7-9b07-43fb-8c5a-7e77770cf107"", ""path"": ""/space"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Submit"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""02a5e5e0-79ef-477d-aa7c-3134b9793e7e"", ""path"": ""/escape"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Cancel"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""1441da96-a758-483a-9d4a-065dbbea93a3"", ""path"": ""/backspace"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Cancel"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""5f7a54af-6a1b-4e69-8a46-57a6772019cc"", ""path"": """", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""TrackedPosition"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""e27d48ea-ec19-428a-a43b-cc34245bf0bb"", ""path"": """", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""TrackedOrientation"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": """", ""id"": ""71b914b8-1855-48ac-8c4f-70d95df9e87a"", ""path"": ""/tab"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Inventory"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": ""WASD"", ""id"": ""a40b1b7f-8cb3-4138-80a0-ec2771a2481a"", ""path"": ""2DVector"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": true, ""isPartOfComposite"": false }, { ""name"": ""up"", ""id"": ""107fa9b1-ae5d-441a-9a2d-c56e60843b5b"", ""path"": ""/w"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""fcc986ce-c61d-4ab8-9e26-4aae47193f8c"", ""path"": ""/s"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""aef02022-8f98-4b88-b919-57443a7a4890"", ""path"": ""/a"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""21c75cc4-785f-4d6b-965a-489fdce25b86"", ""path"": ""/d"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""2D Vector"", ""id"": ""b29d4986-d9df-41ee-a400-f7a20936ac3e"", ""path"": ""2DVector"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": true, ""isPartOfComposite"": false }, { ""name"": ""up"", ""id"": ""9c9cd114-4dc6-40a0-a798-340d518ee65c"", ""path"": ""/upArrow"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""down"", ""id"": ""619faec0-ba13-4a63-a020-b7e798c54d9c"", ""path"": ""/downArrow"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""left"", ""id"": ""1b3b1df0-0e0b-4135-8624-a19f1b698c8e"", ""path"": ""/leftArrow"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""right"", ""id"": ""d4f98cb4-6772-4d26-88c8-6185d2ee3c27"", ""path"": ""/rightArrow"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Move"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": """", ""id"": ""45ab84c6-52d2-4c7d-abab-ad03942476c8"", ""path"": ""/delta"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Delta"", ""isComposite"": false, ""isPartOfComposite"": false } ] }, { ""name"": ""Vehicle"", ""id"": ""9716b7b4-f18e-44a2-aeb9-bcc2915b25f0"", ""actions"": [ { ""name"": ""Vertical"", ""type"": ""Button"", ""id"": ""5703bb8a-1107-4f73-91fa-9bbc362d9528"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Horizontal"", ""type"": ""Button"", ""id"": ""81f77857-0dcd-4d30-8b45-8ce3cd5f58e6"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false }, { ""name"": ""Brake"", ""type"": ""Button"", ""id"": ""80f37eef-790b-4950-a4cd-f534be2769c7"", ""expectedControlType"": ""Button"", ""processors"": """", ""interactions"": """", ""initialStateCheck"": false } ], ""bindings"": [ { ""name"": """", ""id"": ""c581280c-baf3-47f8-afb3-0653abcd5019"", ""path"": ""/space"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Brake"", ""isComposite"": false, ""isPartOfComposite"": false }, { ""name"": ""WS"", ""id"": ""0a11d2e9-5d33-4dc8-beaa-f3f14223ff23"", ""path"": ""1DAxis"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Vertical"", ""isComposite"": true, ""isPartOfComposite"": false }, { ""name"": ""negative"", ""id"": ""bbcd6075-850b-487c-959a-01e5410c09a6"", ""path"": ""/s"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Vertical"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""positive"", ""id"": ""1cdb554b-1558-44a9-b677-33b47357ea60"", ""path"": ""/w"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Vertical"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""AD"", ""id"": ""f6422f7b-a04a-41b2-a73d-a60ed8f97c24"", ""path"": ""1DAxis"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Horizontal"", ""isComposite"": true, ""isPartOfComposite"": false }, { ""name"": ""negative"", ""id"": ""56016ad9-03f9-4e16-862d-4285773c906c"", ""path"": ""/a"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Horizontal"", ""isComposite"": false, ""isPartOfComposite"": true }, { ""name"": ""positive"", ""id"": ""c7af9d71-b50f-4e55-bf9a-b90e1e3238fc"", ""path"": ""/d"", ""interactions"": """", ""processors"": """", ""groups"": """", ""action"": ""Horizontal"", ""isComposite"": false, ""isPartOfComposite"": true } ] } ], ""controlSchemes"": [] }"); // Gameplay m_Gameplay = asset.FindActionMap("Gameplay", throwIfNotFound: true); m_Gameplay_Movement = m_Gameplay.FindAction("Movement", throwIfNotFound: true); m_Gameplay_View = m_Gameplay.FindAction("View", throwIfNotFound: true); m_Gameplay_Jump = m_Gameplay.FindAction("Jump", throwIfNotFound: true); m_Gameplay_Crouch = m_Gameplay.FindAction("Crouch", throwIfNotFound: true); m_Gameplay_HoldCrouch = m_Gameplay.FindAction("HoldCrouch", throwIfNotFound: true); m_Gameplay_Fire = m_Gameplay.FindAction("Fire", throwIfNotFound: true); m_Gameplay_Aim = m_Gameplay.FindAction("Aim", throwIfNotFound: true); m_Gameplay_Interactive = m_Gameplay.FindAction("Interactive", throwIfNotFound: true); m_Gameplay_Melee = m_Gameplay.FindAction("Melee", throwIfNotFound: true); m_Gameplay_Run = m_Gameplay.FindAction("Run", throwIfNotFound: true); m_Gameplay_RunHold = m_Gameplay.FindAction("RunHold", throwIfNotFound: true); m_Gameplay_Reload = m_Gameplay.FindAction("Reload", throwIfNotFound: true); m_Gameplay_Ability = m_Gameplay.FindAction("Ability", throwIfNotFound: true); m_Gameplay_Primary = m_Gameplay.FindAction("Primary", throwIfNotFound: true); m_Gameplay_Secondary = m_Gameplay.FindAction("Secondary", throwIfNotFound: true); m_Gameplay_Tertiary = m_Gameplay.FindAction("Tertiary", throwIfNotFound: true); m_Gameplay_Quaternary = m_Gameplay.FindAction("Quaternary", throwIfNotFound: true); m_Gameplay_Quinary = m_Gameplay.FindAction("Quinary", throwIfNotFound: true); m_Gameplay_Senary = m_Gameplay.FindAction("Senary", throwIfNotFound: true); m_Gameplay_Septenary = m_Gameplay.FindAction("Septenary", throwIfNotFound: true); m_Gameplay_Octonary = m_Gameplay.FindAction("Octonary", throwIfNotFound: true); m_Gameplay_Nonary = m_Gameplay.FindAction("Nonary", throwIfNotFound: true); m_Gameplay_Denary = m_Gameplay.FindAction("Denary", throwIfNotFound: true); // UI m_UI = asset.FindActionMap("UI", throwIfNotFound: true); m_UI_Point = m_UI.FindAction("Point", throwIfNotFound: true); m_UI_LeftClick = m_UI.FindAction("LeftClick", throwIfNotFound: true); m_UI_MiddleClick = m_UI.FindAction("MiddleClick", throwIfNotFound: true); m_UI_RightClick = m_UI.FindAction("RightClick", throwIfNotFound: true); m_UI_ScrollWheel = m_UI.FindAction("ScrollWheel", throwIfNotFound: true); m_UI_Move = m_UI.FindAction("Move", throwIfNotFound: true); m_UI_Submit = m_UI.FindAction("Submit", throwIfNotFound: true); m_UI_Cancel = m_UI.FindAction("Cancel", throwIfNotFound: true); m_UI_TrackedPosition = m_UI.FindAction("TrackedPosition", throwIfNotFound: true); m_UI_TrackedOrientation = m_UI.FindAction("TrackedOrientation", throwIfNotFound: true); m_UI_Inventory = m_UI.FindAction("Inventory", throwIfNotFound: true); m_UI_Delta = m_UI.FindAction("Delta", throwIfNotFound: true); // Vehicle m_Vehicle = asset.FindActionMap("Vehicle", throwIfNotFound: true); m_Vehicle_Vertical = m_Vehicle.FindAction("Vertical", throwIfNotFound: true); m_Vehicle_Horizontal = m_Vehicle.FindAction("Horizontal", throwIfNotFound: true); m_Vehicle_Brake = m_Vehicle.FindAction("Brake", throwIfNotFound: true); } 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_Movement; private readonly InputAction m_Gameplay_View; private readonly InputAction m_Gameplay_Jump; private readonly InputAction m_Gameplay_Crouch; private readonly InputAction m_Gameplay_HoldCrouch; private readonly InputAction m_Gameplay_Fire; private readonly InputAction m_Gameplay_Aim; private readonly InputAction m_Gameplay_Interactive; private readonly InputAction m_Gameplay_Melee; private readonly InputAction m_Gameplay_Run; private readonly InputAction m_Gameplay_RunHold; private readonly InputAction m_Gameplay_Reload; private readonly InputAction m_Gameplay_Ability; private readonly InputAction m_Gameplay_Primary; private readonly InputAction m_Gameplay_Secondary; private readonly InputAction m_Gameplay_Tertiary; private readonly InputAction m_Gameplay_Quaternary; private readonly InputAction m_Gameplay_Quinary; private readonly InputAction m_Gameplay_Senary; private readonly InputAction m_Gameplay_Septenary; private readonly InputAction m_Gameplay_Octonary; private readonly InputAction m_Gameplay_Nonary; private readonly InputAction m_Gameplay_Denary; public struct GameplayActions { private @BITController m_Wrapper; public GameplayActions(@BITController wrapper) { m_Wrapper = wrapper; } public InputAction @Movement => m_Wrapper.m_Gameplay_Movement; public InputAction @View => m_Wrapper.m_Gameplay_View; public InputAction @Jump => m_Wrapper.m_Gameplay_Jump; public InputAction @Crouch => m_Wrapper.m_Gameplay_Crouch; public InputAction @HoldCrouch => m_Wrapper.m_Gameplay_HoldCrouch; public InputAction @Fire => m_Wrapper.m_Gameplay_Fire; public InputAction @Aim => m_Wrapper.m_Gameplay_Aim; public InputAction @Interactive => m_Wrapper.m_Gameplay_Interactive; public InputAction @Melee => m_Wrapper.m_Gameplay_Melee; public InputAction @Run => m_Wrapper.m_Gameplay_Run; public InputAction @RunHold => m_Wrapper.m_Gameplay_RunHold; public InputAction @Reload => m_Wrapper.m_Gameplay_Reload; public InputAction @Ability => m_Wrapper.m_Gameplay_Ability; public InputAction @Primary => m_Wrapper.m_Gameplay_Primary; public InputAction @Secondary => m_Wrapper.m_Gameplay_Secondary; public InputAction @Tertiary => m_Wrapper.m_Gameplay_Tertiary; public InputAction @Quaternary => m_Wrapper.m_Gameplay_Quaternary; public InputAction @Quinary => m_Wrapper.m_Gameplay_Quinary; public InputAction @Senary => m_Wrapper.m_Gameplay_Senary; public InputAction @Septenary => m_Wrapper.m_Gameplay_Septenary; public InputAction @Octonary => m_Wrapper.m_Gameplay_Octonary; public InputAction @Nonary => m_Wrapper.m_Gameplay_Nonary; public InputAction @Denary => m_Wrapper.m_Gameplay_Denary; public InputActionMap Get() { return m_Wrapper.m_Gameplay; } public void Enable() { Get().Enable(); } public void Disable() { Get().Disable(); } public bool enabled => Get().enabled; public static implicit operator InputActionMap(GameplayActions set) { return set.Get(); } 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; @View.started += instance.OnView; @View.performed += instance.OnView; @View.canceled += instance.OnView; @Jump.started += instance.OnJump; @Jump.performed += instance.OnJump; @Jump.canceled += instance.OnJump; @Crouch.started += instance.OnCrouch; @Crouch.performed += instance.OnCrouch; @Crouch.canceled += instance.OnCrouch; @HoldCrouch.started += instance.OnHoldCrouch; @HoldCrouch.performed += instance.OnHoldCrouch; @HoldCrouch.canceled += instance.OnHoldCrouch; @Fire.started += instance.OnFire; @Fire.performed += instance.OnFire; @Fire.canceled += instance.OnFire; @Aim.started += instance.OnAim; @Aim.performed += instance.OnAim; @Aim.canceled += instance.OnAim; @Interactive.started += instance.OnInteractive; @Interactive.performed += instance.OnInteractive; @Interactive.canceled += instance.OnInteractive; @Melee.started += instance.OnMelee; @Melee.performed += instance.OnMelee; @Melee.canceled += instance.OnMelee; @Run.started += instance.OnRun; @Run.performed += instance.OnRun; @Run.canceled += instance.OnRun; @RunHold.started += instance.OnRunHold; @RunHold.performed += instance.OnRunHold; @RunHold.canceled += instance.OnRunHold; @Reload.started += instance.OnReload; @Reload.performed += instance.OnReload; @Reload.canceled += instance.OnReload; @Ability.started += instance.OnAbility; @Ability.performed += instance.OnAbility; @Ability.canceled += instance.OnAbility; @Primary.started += instance.OnPrimary; @Primary.performed += instance.OnPrimary; @Primary.canceled += instance.OnPrimary; @Secondary.started += instance.OnSecondary; @Secondary.performed += instance.OnSecondary; @Secondary.canceled += instance.OnSecondary; @Tertiary.started += instance.OnTertiary; @Tertiary.performed += instance.OnTertiary; @Tertiary.canceled += instance.OnTertiary; @Quaternary.started += instance.OnQuaternary; @Quaternary.performed += instance.OnQuaternary; @Quaternary.canceled += instance.OnQuaternary; @Quinary.started += instance.OnQuinary; @Quinary.performed += instance.OnQuinary; @Quinary.canceled += instance.OnQuinary; @Senary.started += instance.OnSenary; @Senary.performed += instance.OnSenary; @Senary.canceled += instance.OnSenary; @Septenary.started += instance.OnSeptenary; @Septenary.performed += instance.OnSeptenary; @Septenary.canceled += instance.OnSeptenary; @Octonary.started += instance.OnOctonary; @Octonary.performed += instance.OnOctonary; @Octonary.canceled += instance.OnOctonary; @Nonary.started += instance.OnNonary; @Nonary.performed += instance.OnNonary; @Nonary.canceled += instance.OnNonary; @Denary.started += instance.OnDenary; @Denary.performed += instance.OnDenary; @Denary.canceled += instance.OnDenary; } private void UnregisterCallbacks(IGameplayActions instance) { @Movement.started -= instance.OnMovement; @Movement.performed -= instance.OnMovement; @Movement.canceled -= instance.OnMovement; @View.started -= instance.OnView; @View.performed -= instance.OnView; @View.canceled -= instance.OnView; @Jump.started -= instance.OnJump; @Jump.performed -= instance.OnJump; @Jump.canceled -= instance.OnJump; @Crouch.started -= instance.OnCrouch; @Crouch.performed -= instance.OnCrouch; @Crouch.canceled -= instance.OnCrouch; @HoldCrouch.started -= instance.OnHoldCrouch; @HoldCrouch.performed -= instance.OnHoldCrouch; @HoldCrouch.canceled -= instance.OnHoldCrouch; @Fire.started -= instance.OnFire; @Fire.performed -= instance.OnFire; @Fire.canceled -= instance.OnFire; @Aim.started -= instance.OnAim; @Aim.performed -= instance.OnAim; @Aim.canceled -= instance.OnAim; @Interactive.started -= instance.OnInteractive; @Interactive.performed -= instance.OnInteractive; @Interactive.canceled -= instance.OnInteractive; @Melee.started -= instance.OnMelee; @Melee.performed -= instance.OnMelee; @Melee.canceled -= instance.OnMelee; @Run.started -= instance.OnRun; @Run.performed -= instance.OnRun; @Run.canceled -= instance.OnRun; @RunHold.started -= instance.OnRunHold; @RunHold.performed -= instance.OnRunHold; @RunHold.canceled -= instance.OnRunHold; @Reload.started -= instance.OnReload; @Reload.performed -= instance.OnReload; @Reload.canceled -= instance.OnReload; @Ability.started -= instance.OnAbility; @Ability.performed -= instance.OnAbility; @Ability.canceled -= instance.OnAbility; @Primary.started -= instance.OnPrimary; @Primary.performed -= instance.OnPrimary; @Primary.canceled -= instance.OnPrimary; @Secondary.started -= instance.OnSecondary; @Secondary.performed -= instance.OnSecondary; @Secondary.canceled -= instance.OnSecondary; @Tertiary.started -= instance.OnTertiary; @Tertiary.performed -= instance.OnTertiary; @Tertiary.canceled -= instance.OnTertiary; @Quaternary.started -= instance.OnQuaternary; @Quaternary.performed -= instance.OnQuaternary; @Quaternary.canceled -= instance.OnQuaternary; @Quinary.started -= instance.OnQuinary; @Quinary.performed -= instance.OnQuinary; @Quinary.canceled -= instance.OnQuinary; @Senary.started -= instance.OnSenary; @Senary.performed -= instance.OnSenary; @Senary.canceled -= instance.OnSenary; @Septenary.started -= instance.OnSeptenary; @Septenary.performed -= instance.OnSeptenary; @Septenary.canceled -= instance.OnSeptenary; @Octonary.started -= instance.OnOctonary; @Octonary.performed -= instance.OnOctonary; @Octonary.canceled -= instance.OnOctonary; @Nonary.started -= instance.OnNonary; @Nonary.performed -= instance.OnNonary; @Nonary.canceled -= instance.OnNonary; @Denary.started -= instance.OnDenary; @Denary.performed -= instance.OnDenary; @Denary.canceled -= instance.OnDenary; } public void RemoveCallbacks(IGameplayActions instance) { if (m_Wrapper.m_GameplayActionsCallbackInterfaces.Remove(instance)) UnregisterCallbacks(instance); } public void SetCallbacks(IGameplayActions instance) { foreach (var item in m_Wrapper.m_GameplayActionsCallbackInterfaces) UnregisterCallbacks(item); m_Wrapper.m_GameplayActionsCallbackInterfaces.Clear(); AddCallbacks(instance); } } public GameplayActions @Gameplay => new GameplayActions(this); // UI private readonly InputActionMap m_UI; private List m_UIActionsCallbackInterfaces = new List(); private readonly InputAction m_UI_Point; private readonly InputAction m_UI_LeftClick; private readonly InputAction m_UI_MiddleClick; private readonly InputAction m_UI_RightClick; private readonly InputAction m_UI_ScrollWheel; private readonly InputAction m_UI_Move; private readonly InputAction m_UI_Submit; private readonly InputAction m_UI_Cancel; private readonly InputAction m_UI_TrackedPosition; private readonly InputAction m_UI_TrackedOrientation; private readonly InputAction m_UI_Inventory; private readonly InputAction m_UI_Delta; public struct UIActions { private @BITController m_Wrapper; public UIActions(@BITController wrapper) { m_Wrapper = wrapper; } public InputAction @Point => m_Wrapper.m_UI_Point; public InputAction @LeftClick => m_Wrapper.m_UI_LeftClick; public InputAction @MiddleClick => m_Wrapper.m_UI_MiddleClick; public InputAction @RightClick => m_Wrapper.m_UI_RightClick; public InputAction @ScrollWheel => m_Wrapper.m_UI_ScrollWheel; public InputAction @Move => m_Wrapper.m_UI_Move; public InputAction @Submit => m_Wrapper.m_UI_Submit; public InputAction @Cancel => m_Wrapper.m_UI_Cancel; public InputAction @TrackedPosition => m_Wrapper.m_UI_TrackedPosition; public InputAction @TrackedOrientation => m_Wrapper.m_UI_TrackedOrientation; public InputAction @Inventory => m_Wrapper.m_UI_Inventory; public InputAction @Delta => m_Wrapper.m_UI_Delta; public InputActionMap Get() { return m_Wrapper.m_UI; } public void Enable() { Get().Enable(); } public void Disable() { Get().Disable(); } public bool enabled => Get().enabled; public static implicit operator InputActionMap(UIActions set) { return set.Get(); } public void AddCallbacks(IUIActions instance) { if (instance == null || m_Wrapper.m_UIActionsCallbackInterfaces.Contains(instance)) return; m_Wrapper.m_UIActionsCallbackInterfaces.Add(instance); @Point.started += instance.OnPoint; @Point.performed += instance.OnPoint; @Point.canceled += instance.OnPoint; @LeftClick.started += instance.OnLeftClick; @LeftClick.performed += instance.OnLeftClick; @LeftClick.canceled += instance.OnLeftClick; @MiddleClick.started += instance.OnMiddleClick; @MiddleClick.performed += instance.OnMiddleClick; @MiddleClick.canceled += instance.OnMiddleClick; @RightClick.started += instance.OnRightClick; @RightClick.performed += instance.OnRightClick; @RightClick.canceled += instance.OnRightClick; @ScrollWheel.started += instance.OnScrollWheel; @ScrollWheel.performed += instance.OnScrollWheel; @ScrollWheel.canceled += instance.OnScrollWheel; @Move.started += instance.OnMove; @Move.performed += instance.OnMove; @Move.canceled += instance.OnMove; @Submit.started += instance.OnSubmit; @Submit.performed += instance.OnSubmit; @Submit.canceled += instance.OnSubmit; @Cancel.started += instance.OnCancel; @Cancel.performed += instance.OnCancel; @Cancel.canceled += instance.OnCancel; @TrackedPosition.started += instance.OnTrackedPosition; @TrackedPosition.performed += instance.OnTrackedPosition; @TrackedPosition.canceled += instance.OnTrackedPosition; @TrackedOrientation.started += instance.OnTrackedOrientation; @TrackedOrientation.performed += instance.OnTrackedOrientation; @TrackedOrientation.canceled += instance.OnTrackedOrientation; @Inventory.started += instance.OnInventory; @Inventory.performed += instance.OnInventory; @Inventory.canceled += instance.OnInventory; @Delta.started += instance.OnDelta; @Delta.performed += instance.OnDelta; @Delta.canceled += instance.OnDelta; } private void UnregisterCallbacks(IUIActions instance) { @Point.started -= instance.OnPoint; @Point.performed -= instance.OnPoint; @Point.canceled -= instance.OnPoint; @LeftClick.started -= instance.OnLeftClick; @LeftClick.performed -= instance.OnLeftClick; @LeftClick.canceled -= instance.OnLeftClick; @MiddleClick.started -= instance.OnMiddleClick; @MiddleClick.performed -= instance.OnMiddleClick; @MiddleClick.canceled -= instance.OnMiddleClick; @RightClick.started -= instance.OnRightClick; @RightClick.performed -= instance.OnRightClick; @RightClick.canceled -= instance.OnRightClick; @ScrollWheel.started -= instance.OnScrollWheel; @ScrollWheel.performed -= instance.OnScrollWheel; @ScrollWheel.canceled -= instance.OnScrollWheel; @Move.started -= instance.OnMove; @Move.performed -= instance.OnMove; @Move.canceled -= instance.OnMove; @Submit.started -= instance.OnSubmit; @Submit.performed -= instance.OnSubmit; @Submit.canceled -= instance.OnSubmit; @Cancel.started -= instance.OnCancel; @Cancel.performed -= instance.OnCancel; @Cancel.canceled -= instance.OnCancel; @TrackedPosition.started -= instance.OnTrackedPosition; @TrackedPosition.performed -= instance.OnTrackedPosition; @TrackedPosition.canceled -= instance.OnTrackedPosition; @TrackedOrientation.started -= instance.OnTrackedOrientation; @TrackedOrientation.performed -= instance.OnTrackedOrientation; @TrackedOrientation.canceled -= instance.OnTrackedOrientation; @Inventory.started -= instance.OnInventory; @Inventory.performed -= instance.OnInventory; @Inventory.canceled -= instance.OnInventory; @Delta.started -= instance.OnDelta; @Delta.performed -= instance.OnDelta; @Delta.canceled -= instance.OnDelta; } public void RemoveCallbacks(IUIActions instance) { if (m_Wrapper.m_UIActionsCallbackInterfaces.Remove(instance)) UnregisterCallbacks(instance); } public void SetCallbacks(IUIActions instance) { foreach (var item in m_Wrapper.m_UIActionsCallbackInterfaces) UnregisterCallbacks(item); m_Wrapper.m_UIActionsCallbackInterfaces.Clear(); AddCallbacks(instance); } } public UIActions @UI => new UIActions(this); // Vehicle private readonly InputActionMap m_Vehicle; private List m_VehicleActionsCallbackInterfaces = new List(); private readonly InputAction m_Vehicle_Vertical; private readonly InputAction m_Vehicle_Horizontal; private readonly InputAction m_Vehicle_Brake; public struct VehicleActions { private @BITController m_Wrapper; public VehicleActions(@BITController wrapper) { m_Wrapper = wrapper; } public InputAction @Vertical => m_Wrapper.m_Vehicle_Vertical; public InputAction @Horizontal => m_Wrapper.m_Vehicle_Horizontal; public InputAction @Brake => m_Wrapper.m_Vehicle_Brake; public InputActionMap Get() { return m_Wrapper.m_Vehicle; } public void Enable() { Get().Enable(); } public void Disable() { Get().Disable(); } public bool enabled => Get().enabled; public static implicit operator InputActionMap(VehicleActions set) { return set.Get(); } public void AddCallbacks(IVehicleActions instance) { if (instance == null || m_Wrapper.m_VehicleActionsCallbackInterfaces.Contains(instance)) return; m_Wrapper.m_VehicleActionsCallbackInterfaces.Add(instance); @Vertical.started += instance.OnVertical; @Vertical.performed += instance.OnVertical; @Vertical.canceled += instance.OnVertical; @Horizontal.started += instance.OnHorizontal; @Horizontal.performed += instance.OnHorizontal; @Horizontal.canceled += instance.OnHorizontal; @Brake.started += instance.OnBrake; @Brake.performed += instance.OnBrake; @Brake.canceled += instance.OnBrake; } private void UnregisterCallbacks(IVehicleActions instance) { @Vertical.started -= instance.OnVertical; @Vertical.performed -= instance.OnVertical; @Vertical.canceled -= instance.OnVertical; @Horizontal.started -= instance.OnHorizontal; @Horizontal.performed -= instance.OnHorizontal; @Horizontal.canceled -= instance.OnHorizontal; @Brake.started -= instance.OnBrake; @Brake.performed -= instance.OnBrake; @Brake.canceled -= instance.OnBrake; } public void RemoveCallbacks(IVehicleActions instance) { if (m_Wrapper.m_VehicleActionsCallbackInterfaces.Remove(instance)) UnregisterCallbacks(instance); } public void SetCallbacks(IVehicleActions instance) { foreach (var item in m_Wrapper.m_VehicleActionsCallbackInterfaces) UnregisterCallbacks(item); m_Wrapper.m_VehicleActionsCallbackInterfaces.Clear(); AddCallbacks(instance); } } public VehicleActions @Vehicle => new VehicleActions(this); public interface IGameplayActions { void OnMovement(InputAction.CallbackContext context); void OnView(InputAction.CallbackContext context); void OnJump(InputAction.CallbackContext context); void OnCrouch(InputAction.CallbackContext context); void OnHoldCrouch(InputAction.CallbackContext context); void OnFire(InputAction.CallbackContext context); void OnAim(InputAction.CallbackContext context); void OnInteractive(InputAction.CallbackContext context); void OnMelee(InputAction.CallbackContext context); void OnRun(InputAction.CallbackContext context); void OnRunHold(InputAction.CallbackContext context); void OnReload(InputAction.CallbackContext context); void OnAbility(InputAction.CallbackContext context); void OnPrimary(InputAction.CallbackContext context); void OnSecondary(InputAction.CallbackContext context); void OnTertiary(InputAction.CallbackContext context); void OnQuaternary(InputAction.CallbackContext context); void OnQuinary(InputAction.CallbackContext context); void OnSenary(InputAction.CallbackContext context); void OnSeptenary(InputAction.CallbackContext context); void OnOctonary(InputAction.CallbackContext context); void OnNonary(InputAction.CallbackContext context); void OnDenary(InputAction.CallbackContext context); } public interface IUIActions { void OnPoint(InputAction.CallbackContext context); void OnLeftClick(InputAction.CallbackContext context); void OnMiddleClick(InputAction.CallbackContext context); void OnRightClick(InputAction.CallbackContext context); void OnScrollWheel(InputAction.CallbackContext context); void OnMove(InputAction.CallbackContext context); void OnSubmit(InputAction.CallbackContext context); void OnCancel(InputAction.CallbackContext context); void OnTrackedPosition(InputAction.CallbackContext context); void OnTrackedOrientation(InputAction.CallbackContext context); void OnInventory(InputAction.CallbackContext context); void OnDelta(InputAction.CallbackContext context); } public interface IVehicleActions { void OnVertical(InputAction.CallbackContext context); void OnHorizontal(InputAction.CallbackContext context); void OnBrake(InputAction.CallbackContext context); } } }