1635 lines
75 KiB
C#
1635 lines
75 KiB
C#
// GENERATED AUTOMATICALLY FROM 'Assets/Resources/Aetheria.inputactions'
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine.InputSystem;
|
|
using UnityEngine.InputSystem.Utilities;
|
|
|
|
public class @AetheriaInput : IInputActionCollection, IDisposable
|
|
{
|
|
public InputActionAsset asset { get; }
|
|
public @AetheriaInput()
|
|
{
|
|
asset = InputActionAsset.FromJson(@"{
|
|
""name"": ""Aetheria"",
|
|
""maps"": [
|
|
{
|
|
""name"": ""Player"",
|
|
""id"": ""b00bd617-6995-42af-ac1f-90d4766f7933"",
|
|
""actions"": [
|
|
{
|
|
""name"": ""Move"",
|
|
""type"": ""Value"",
|
|
""id"": ""197ba05c-054a-44fc-8328-0d37e8ac00db"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Look"",
|
|
""type"": ""Value"",
|
|
""id"": ""323b9ea0-f916-4609-b697-322fc0ef9420"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Fire Group 1"",
|
|
""type"": ""Button"",
|
|
""id"": ""575943b0-4866-4be0-a289-3253973523b1"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Fire Group 2"",
|
|
""type"": ""Button"",
|
|
""id"": ""b9bdfa1f-db61-4ec3-883a-fc3f9e88c5f5"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Fire Group 3"",
|
|
""type"": ""Button"",
|
|
""id"": ""d79871a2-8565-4cf3-809f-9c979adfcd81"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Fire Group 4"",
|
|
""type"": ""Button"",
|
|
""id"": ""59902e9e-1dfb-4624-9599-72ff763ef327"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Fire Group 5"",
|
|
""type"": ""Button"",
|
|
""id"": ""80b549c1-7378-48c5-8da2-ce95b9c92913"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Fire Group 6"",
|
|
""type"": ""Button"",
|
|
""id"": ""4ba5091e-051a-41df-9985-6c0e082b20a5"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Minimap Zoom"",
|
|
""type"": ""Button"",
|
|
""id"": ""5708685d-78bd-4d2b-8796-712704f21bfb"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Next Weapon Group"",
|
|
""type"": ""Button"",
|
|
""id"": ""8ed69fe0-d934-44ea-94c0-d5d69cc33b32"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Previous Weapon Group"",
|
|
""type"": ""Button"",
|
|
""id"": ""93f19768-6c19-4bab-8b53-4e3e5ba764fc"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Next Weapon"",
|
|
""type"": ""Button"",
|
|
""id"": ""09a5e315-6290-4ab5-9e7c-55b7523562b7"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Previous Weapon"",
|
|
""type"": ""Button"",
|
|
""id"": ""ed923265-545f-4475-ba7c-885371612325"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Toggle Weapon Group"",
|
|
""type"": ""Button"",
|
|
""id"": ""c61da4ef-e0bc-4d17-aab0-8e2979c3de3c"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Target Reticle"",
|
|
""type"": ""Button"",
|
|
""id"": ""86f2e6cc-b895-4c55-aa19-70220df477d2"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Target Previous"",
|
|
""type"": ""Button"",
|
|
""id"": ""2cf8e2b2-1463-463b-8f55-e79884f3767d"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Target Next"",
|
|
""type"": ""Button"",
|
|
""id"": ""1e2bd5af-e174-4533-8c57-b04b7e9df92c"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Target Nearest"",
|
|
""type"": ""Button"",
|
|
""id"": ""b2a42777-c22b-48f3-9e74-8dc715449845"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Toggle Heatsinks"",
|
|
""type"": ""Button"",
|
|
""id"": ""e6c6ff6a-4ac2-4e53-a3c9-9461f52e723f"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""EnterWormhole"",
|
|
""type"": ""Button"",
|
|
""id"": ""c918ac22-b029-4805-9c85-e615a52641f2"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
}
|
|
],
|
|
""bindings"": [
|
|
{
|
|
""name"": """",
|
|
""id"": ""978bfe49-cc26-4a3d-ab7b-7d7a29327403"",
|
|
""path"": ""<Gamepad>/leftStick"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": ""WASD"",
|
|
""id"": ""00ca640b-d935-4593-8157-c05846ea39b3"",
|
|
""path"": ""Dpad"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Move"",
|
|
""isComposite"": true,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""e2062cb9-1b15-46a2-838c-2f8d72a0bdd9"",
|
|
""path"": ""<Keyboard>/w"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""8180e8bd-4097-4f4e-ab88-4523101a6ce9"",
|
|
""path"": ""<Keyboard>/upArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""320bffee-a40b-4347-ac70-c210eb8bc73a"",
|
|
""path"": ""<Keyboard>/s"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""1c5327b5-f71c-4f60-99c7-4e737386f1d1"",
|
|
""path"": ""<Keyboard>/downArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""d2581a9b-1d11-4566-b27d-b92aff5fabbc"",
|
|
""path"": ""<Keyboard>/a"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""2e46982e-44cc-431b-9f0b-c11910bf467a"",
|
|
""path"": ""<Keyboard>/leftArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""fcfe95b8-67b9-4526-84b5-5d0bc98d6400"",
|
|
""path"": ""<Keyboard>/d"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""77bff152-3580-4b21-b6de-dcd0c7e41164"",
|
|
""path"": ""<Keyboard>/rightArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""3ea4d645-4504-4529-b061-ab81934c3752"",
|
|
""path"": ""<Joystick>/stick"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""c1f7a91b-d0fd-4a62-997e-7fb9b69bf235"",
|
|
""path"": ""<Gamepad>/rightStick"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Look"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""8c8e490b-c610-4785-884f-f04217b23ca4"",
|
|
""path"": ""<Pointer>/delta"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Look"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""3e5f5442-8668-4b27-a940-df99bad7e831"",
|
|
""path"": ""<Joystick>/{Hatswitch}"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Look"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""143bb1cd-cc10-4eca-a2f0-a3664166fe91"",
|
|
""path"": ""<Gamepad>/rightTrigger"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Fire Group 1"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""05f6913d-c316-48b2-a6bb-e225f14c7960"",
|
|
""path"": ""<Mouse>/leftButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Fire Group 1"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""ee3d0cd2-254e-47a7-a8cb-bc94d9658c54"",
|
|
""path"": ""<Joystick>/trigger"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Fire Group 1"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""8c676533-8c53-4b6a-9368-d194b8a997f8"",
|
|
""path"": ""<Keyboard>/1"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Fire Group 1"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""495c3ec6-3188-4309-9072-f958e89c87ec"",
|
|
""path"": ""<Keyboard>/comma"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Minimap Zoom"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""444b4049-a11e-4bef-8a57-345c3d1a7545"",
|
|
""path"": ""<Keyboard>/rightArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Next Weapon Group"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""fb6c0d4c-dae6-406b-b35a-c35b5d25022c"",
|
|
""path"": ""<Keyboard>/leftArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Previous Weapon Group"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""bac8c902-3cad-4a7f-8773-35800a2ee3b9"",
|
|
""path"": ""<Keyboard>/downArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Next Weapon"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""969aff21-097a-4c35-9c46-2239e5f321f5"",
|
|
""path"": ""<Keyboard>/upArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Previous Weapon"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""a2bcbfda-f091-433f-8ac9-112396507408"",
|
|
""path"": ""<Keyboard>/rightCtrl"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Toggle Weapon Group"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""48b8b6ee-8435-439a-96a1-c968254ff605"",
|
|
""path"": ""<Mouse>/rightButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Fire Group 2"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""8ae75721-10ab-4d83-8322-82cbb3fdcc44"",
|
|
""path"": ""<Keyboard>/2"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Fire Group 2"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""7f89c9af-795b-4b1e-ad43-dac3350cfbe3"",
|
|
""path"": ""<Mouse>/middleButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Fire Group 3"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""c249f018-c10a-4c2c-a4ba-9fba54ed33e9"",
|
|
""path"": ""<Keyboard>/3"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Fire Group 3"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""421e49a0-897e-4ea3-af8d-af96989d2957"",
|
|
""path"": ""<Keyboard>/4"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Fire Group 4"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""1c8a43b7-4200-43b9-925c-c1634554083c"",
|
|
""path"": ""<Keyboard>/5"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Fire Group 5"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""0680216e-b462-45a3-8050-2b89dcb615aa"",
|
|
""path"": ""<Keyboard>/6"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Fire Group 6"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""5211a58c-428b-4ee6-820d-2f67789806d6"",
|
|
""path"": ""<Keyboard>/r"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Target Reticle"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""6e13d87d-e5bb-4363-b153-1e0c1e21e4eb"",
|
|
""path"": ""<Keyboard>/t"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Target Previous"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""e6e3164c-1b59-4eab-99d9-5a3bc294af0b"",
|
|
""path"": ""<Keyboard>/y"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Target Next"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""b55dd143-367d-4842-82c8-593c301bcd69"",
|
|
""path"": ""<Keyboard>/u"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Target Nearest"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""71ac6088-1e18-4810-86be-1179918dd4a2"",
|
|
""path"": ""<Keyboard>/#(H)"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Toggle Heatsinks"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""95817d40-4c8d-4660-bd68-a93afe74b6e1"",
|
|
""path"": ""<Keyboard>/#(V)"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""EnterWormhole"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""UI"",
|
|
""id"": ""9a15adda-ca0c-414c-891e-6407bfcd3661"",
|
|
""actions"": [
|
|
{
|
|
""name"": ""Navigate"",
|
|
""type"": ""Value"",
|
|
""id"": ""add1d35f-58cd-4789-8868-f0afb51d87bc"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Submit"",
|
|
""type"": ""Button"",
|
|
""id"": ""766f9151-3f3d-4e12-8ade-ce5aacd3940f"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Cancel"",
|
|
""type"": ""Button"",
|
|
""id"": ""9dc56d99-ed81-42c3-b38d-1a7e76688b34"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Point"",
|
|
""type"": ""PassThrough"",
|
|
""id"": ""dfeef3e2-b0cc-4a9c-97ea-48ab693ac37f"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Click"",
|
|
""type"": ""PassThrough"",
|
|
""id"": ""aae7decd-7584-44f4-87ad-09c14c406ead"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""ScrollWheel"",
|
|
""type"": ""PassThrough"",
|
|
""id"": ""25891af2-479b-4104-9a29-158aee22fa73"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""MiddleClick"",
|
|
""type"": ""PassThrough"",
|
|
""id"": ""dc9af334-4f90-46dc-9b77-f381faa04a79"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""RightClick"",
|
|
""type"": ""PassThrough"",
|
|
""id"": ""27901940-469e-42cd-92b3-f5f787a8d1d6"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Drag"",
|
|
""type"": ""Value"",
|
|
""id"": ""0c96ec22-9571-46c8-94bf-199e70e919ed"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
}
|
|
],
|
|
""bindings"": [
|
|
{
|
|
""name"": ""Gamepad"",
|
|
""id"": ""809f371f-c5e2-4e7a-83a1-d867598f40dd"",
|
|
""path"": ""2DVector"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": true,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""14a5d6e8-4aaf-4119-a9ef-34b8c2c548bf"",
|
|
""path"": ""<Gamepad>/leftStick/up"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""9144cbe6-05e1-4687-a6d7-24f99d23dd81"",
|
|
""path"": ""<Gamepad>/rightStick/up"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""2db08d65-c5fb-421b-983f-c71163608d67"",
|
|
""path"": ""<Gamepad>/leftStick/down"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""58748904-2ea9-4a80-8579-b500e6a76df8"",
|
|
""path"": ""<Gamepad>/rightStick/down"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""8ba04515-75aa-45de-966d-393d9bbd1c14"",
|
|
""path"": ""<Gamepad>/leftStick/left"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""712e721c-bdfb-4b23-a86c-a0d9fcfea921"",
|
|
""path"": ""<Gamepad>/rightStick/left"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""fcd248ae-a788-4676-a12e-f4d81205600b"",
|
|
""path"": ""<Gamepad>/leftStick/right"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""1f04d9bc-c50b-41a1-bfcc-afb75475ec20"",
|
|
""path"": ""<Gamepad>/rightStick/right"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""fb8277d4-c5cd-4663-9dc7-ee3f0b506d90"",
|
|
""path"": ""<Gamepad>/dpad"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": ""Joystick"",
|
|
""id"": ""e25d9774-381c-4a61-b47c-7b6b299ad9f9"",
|
|
""path"": ""2DVector"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": true,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""3db53b26-6601-41be-9887-63ac74e79d19"",
|
|
""path"": ""<Joystick>/stick/up"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""0cb3e13e-3d90-4178-8ae6-d9c5501d653f"",
|
|
""path"": ""<Joystick>/stick/down"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""0392d399-f6dd-4c82-8062-c1e9c0d34835"",
|
|
""path"": ""<Joystick>/stick/left"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""942a66d9-d42f-43d6-8d70-ecb4ba5363bc"",
|
|
""path"": ""<Joystick>/stick/right"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""Keyboard"",
|
|
""id"": ""ff527021-f211-4c02-933e-5976594c46ed"",
|
|
""path"": ""2DVector"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": true,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""563fbfdd-0f09-408d-aa75-8642c4f08ef0"",
|
|
""path"": ""<Keyboard>/w"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""eb480147-c587-4a33-85ed-eb0ab9942c43"",
|
|
""path"": ""<Keyboard>/upArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""2bf42165-60bc-42ca-8072-8c13ab40239b"",
|
|
""path"": ""<Keyboard>/s"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""85d264ad-e0a0-4565-b7ff-1a37edde51ac"",
|
|
""path"": ""<Keyboard>/downArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""74214943-c580-44e4-98eb-ad7eebe17902"",
|
|
""path"": ""<Keyboard>/a"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""cea9b045-a000-445b-95b8-0c171af70a3b"",
|
|
""path"": ""<Keyboard>/leftArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""8607c725-d935-4808-84b1-8354e29bab63"",
|
|
""path"": ""<Keyboard>/d"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""4cda81dc-9edd-4e03-9d7c-a71a14345d0b"",
|
|
""path"": ""<Keyboard>/rightArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Navigate"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""9e92bb26-7e3b-4ec4-b06b-3c8f8e498ddc"",
|
|
""path"": ""*/{Submit}"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Submit"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""82627dcc-3b13-4ba9-841d-e4b746d6553e"",
|
|
""path"": ""*/{Cancel}"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Cancel"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""c52c8e0b-8179-41d3-b8a1-d149033bbe86"",
|
|
""path"": ""<Mouse>/position"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Point"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""e1394cbc-336e-44ce-9ea8-6007ed6193f7"",
|
|
""path"": ""<Pen>/position"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Point"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""4faf7dc9-b979-4210-aa8c-e808e1ef89f5"",
|
|
""path"": ""<Mouse>/leftButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Click"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""8d66d5ba-88d7-48e6-b1cd-198bbfef7ace"",
|
|
""path"": ""<Pen>/tip"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Click"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""38c99815-14ea-4617-8627-164d27641299"",
|
|
""path"": ""<Mouse>/scroll"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""ScrollWheel"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""24066f69-da47-44f3-a07e-0015fb02eb2e"",
|
|
""path"": ""<Mouse>/middleButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""MiddleClick"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""4c191405-5738-4d4b-a523-c6a301dbf754"",
|
|
""path"": ""<Mouse>/rightButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""RightClick"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""618fb60f-5dc7-47ec-8dbf-fdc3d4c515a1"",
|
|
""path"": ""<Mouse>/delta"",
|
|
""interactions"": """",
|
|
""processors"": ""ScaleVector2(x=1.25,y=1.25)"",
|
|
""groups"": """",
|
|
""action"": ""Drag"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""Global"",
|
|
""id"": ""2e2023b8-ce3b-4cb3-a12a-ff4ac610f11b"",
|
|
""actions"": [
|
|
{
|
|
""name"": ""Map Toggle"",
|
|
""type"": ""Button"",
|
|
""id"": ""e43f020b-dec0-43d2-a83b-1390d45819be"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Inventory"",
|
|
""type"": ""Button"",
|
|
""id"": ""dafe13a7-da46-408e-853e-6954e37da5c8"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
},
|
|
{
|
|
""name"": ""Dock"",
|
|
""type"": ""Button"",
|
|
""id"": ""d6e65ce8-149c-4009-ac38-66144cca311a"",
|
|
""expectedControlType"": ""Button"",
|
|
""processors"": """",
|
|
""interactions"": """"
|
|
}
|
|
],
|
|
""bindings"": [
|
|
{
|
|
""name"": """",
|
|
""id"": ""7eadec25-7b3f-4d69-92b7-c756f5f9b0dd"",
|
|
""path"": ""<Keyboard>/m"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Map Toggle"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""2eb827dd-4707-4648-b7e5-cf1fd8fa00da"",
|
|
""path"": ""<Keyboard>/#(I)"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Inventory"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""3279cef8-8bd1-49f2-984a-637d1f8522f6"",
|
|
""path"": ""<Keyboard>/#(C)"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Dock"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
""controlSchemes"": [
|
|
{
|
|
""name"": ""Keyboard&Mouse"",
|
|
""bindingGroup"": ""Keyboard&Mouse"",
|
|
""devices"": [
|
|
{
|
|
""devicePath"": ""<Keyboard>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
},
|
|
{
|
|
""devicePath"": ""<Mouse>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""Gamepad"",
|
|
""bindingGroup"": ""Gamepad"",
|
|
""devices"": [
|
|
{
|
|
""devicePath"": ""<Gamepad>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""Joystick"",
|
|
""bindingGroup"": ""Joystick"",
|
|
""devices"": [
|
|
{
|
|
""devicePath"": ""<Joystick>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}");
|
|
// Player
|
|
m_Player = asset.FindActionMap("Player", throwIfNotFound: true);
|
|
m_Player_Move = m_Player.FindAction("Move", throwIfNotFound: true);
|
|
m_Player_Look = m_Player.FindAction("Look", throwIfNotFound: true);
|
|
m_Player_FireGroup1 = m_Player.FindAction("Fire Group 1", throwIfNotFound: true);
|
|
m_Player_FireGroup2 = m_Player.FindAction("Fire Group 2", throwIfNotFound: true);
|
|
m_Player_FireGroup3 = m_Player.FindAction("Fire Group 3", throwIfNotFound: true);
|
|
m_Player_FireGroup4 = m_Player.FindAction("Fire Group 4", throwIfNotFound: true);
|
|
m_Player_FireGroup5 = m_Player.FindAction("Fire Group 5", throwIfNotFound: true);
|
|
m_Player_FireGroup6 = m_Player.FindAction("Fire Group 6", throwIfNotFound: true);
|
|
m_Player_MinimapZoom = m_Player.FindAction("Minimap Zoom", throwIfNotFound: true);
|
|
m_Player_NextWeaponGroup = m_Player.FindAction("Next Weapon Group", throwIfNotFound: true);
|
|
m_Player_PreviousWeaponGroup = m_Player.FindAction("Previous Weapon Group", throwIfNotFound: true);
|
|
m_Player_NextWeapon = m_Player.FindAction("Next Weapon", throwIfNotFound: true);
|
|
m_Player_PreviousWeapon = m_Player.FindAction("Previous Weapon", throwIfNotFound: true);
|
|
m_Player_ToggleWeaponGroup = m_Player.FindAction("Toggle Weapon Group", throwIfNotFound: true);
|
|
m_Player_TargetReticle = m_Player.FindAction("Target Reticle", throwIfNotFound: true);
|
|
m_Player_TargetPrevious = m_Player.FindAction("Target Previous", throwIfNotFound: true);
|
|
m_Player_TargetNext = m_Player.FindAction("Target Next", throwIfNotFound: true);
|
|
m_Player_TargetNearest = m_Player.FindAction("Target Nearest", throwIfNotFound: true);
|
|
m_Player_ToggleHeatsinks = m_Player.FindAction("Toggle Heatsinks", throwIfNotFound: true);
|
|
m_Player_EnterWormhole = m_Player.FindAction("EnterWormhole", 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_Drag = m_UI.FindAction("Drag", throwIfNotFound: true);
|
|
// Global
|
|
m_Global = asset.FindActionMap("Global", throwIfNotFound: true);
|
|
m_Global_MapToggle = m_Global.FindAction("Map Toggle", throwIfNotFound: true);
|
|
m_Global_Inventory = m_Global.FindAction("Inventory", throwIfNotFound: true);
|
|
m_Global_Dock = m_Global.FindAction("Dock", throwIfNotFound: true);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
UnityEngine.Object.Destroy(asset);
|
|
}
|
|
|
|
public InputBinding? bindingMask
|
|
{
|
|
get => asset.bindingMask;
|
|
set => asset.bindingMask = value;
|
|
}
|
|
|
|
public ReadOnlyArray<InputDevice>? devices
|
|
{
|
|
get => asset.devices;
|
|
set => asset.devices = value;
|
|
}
|
|
|
|
public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes;
|
|
|
|
public bool Contains(InputAction action)
|
|
{
|
|
return asset.Contains(action);
|
|
}
|
|
|
|
public IEnumerator<InputAction> GetEnumerator()
|
|
{
|
|
return asset.GetEnumerator();
|
|
}
|
|
|
|
IEnumerator IEnumerable.GetEnumerator()
|
|
{
|
|
return GetEnumerator();
|
|
}
|
|
|
|
public void Enable()
|
|
{
|
|
asset.Enable();
|
|
}
|
|
|
|
public void Disable()
|
|
{
|
|
asset.Disable();
|
|
}
|
|
|
|
// Player
|
|
private readonly InputActionMap m_Player;
|
|
private IPlayerActions m_PlayerActionsCallbackInterface;
|
|
private readonly InputAction m_Player_Move;
|
|
private readonly InputAction m_Player_Look;
|
|
private readonly InputAction m_Player_FireGroup1;
|
|
private readonly InputAction m_Player_FireGroup2;
|
|
private readonly InputAction m_Player_FireGroup3;
|
|
private readonly InputAction m_Player_FireGroup4;
|
|
private readonly InputAction m_Player_FireGroup5;
|
|
private readonly InputAction m_Player_FireGroup6;
|
|
private readonly InputAction m_Player_MinimapZoom;
|
|
private readonly InputAction m_Player_NextWeaponGroup;
|
|
private readonly InputAction m_Player_PreviousWeaponGroup;
|
|
private readonly InputAction m_Player_NextWeapon;
|
|
private readonly InputAction m_Player_PreviousWeapon;
|
|
private readonly InputAction m_Player_ToggleWeaponGroup;
|
|
private readonly InputAction m_Player_TargetReticle;
|
|
private readonly InputAction m_Player_TargetPrevious;
|
|
private readonly InputAction m_Player_TargetNext;
|
|
private readonly InputAction m_Player_TargetNearest;
|
|
private readonly InputAction m_Player_ToggleHeatsinks;
|
|
private readonly InputAction m_Player_EnterWormhole;
|
|
public struct PlayerActions
|
|
{
|
|
private @AetheriaInput m_Wrapper;
|
|
public PlayerActions(@AetheriaInput wrapper) { m_Wrapper = wrapper; }
|
|
public InputAction @Move => m_Wrapper.m_Player_Move;
|
|
public InputAction @Look => m_Wrapper.m_Player_Look;
|
|
public InputAction @FireGroup1 => m_Wrapper.m_Player_FireGroup1;
|
|
public InputAction @FireGroup2 => m_Wrapper.m_Player_FireGroup2;
|
|
public InputAction @FireGroup3 => m_Wrapper.m_Player_FireGroup3;
|
|
public InputAction @FireGroup4 => m_Wrapper.m_Player_FireGroup4;
|
|
public InputAction @FireGroup5 => m_Wrapper.m_Player_FireGroup5;
|
|
public InputAction @FireGroup6 => m_Wrapper.m_Player_FireGroup6;
|
|
public InputAction @MinimapZoom => m_Wrapper.m_Player_MinimapZoom;
|
|
public InputAction @NextWeaponGroup => m_Wrapper.m_Player_NextWeaponGroup;
|
|
public InputAction @PreviousWeaponGroup => m_Wrapper.m_Player_PreviousWeaponGroup;
|
|
public InputAction @NextWeapon => m_Wrapper.m_Player_NextWeapon;
|
|
public InputAction @PreviousWeapon => m_Wrapper.m_Player_PreviousWeapon;
|
|
public InputAction @ToggleWeaponGroup => m_Wrapper.m_Player_ToggleWeaponGroup;
|
|
public InputAction @TargetReticle => m_Wrapper.m_Player_TargetReticle;
|
|
public InputAction @TargetPrevious => m_Wrapper.m_Player_TargetPrevious;
|
|
public InputAction @TargetNext => m_Wrapper.m_Player_TargetNext;
|
|
public InputAction @TargetNearest => m_Wrapper.m_Player_TargetNearest;
|
|
public InputAction @ToggleHeatsinks => m_Wrapper.m_Player_ToggleHeatsinks;
|
|
public InputAction @EnterWormhole => m_Wrapper.m_Player_EnterWormhole;
|
|
public InputActionMap Get() { return m_Wrapper.m_Player; }
|
|
public void Enable() { Get().Enable(); }
|
|
public void Disable() { Get().Disable(); }
|
|
public bool enabled => Get().enabled;
|
|
public static implicit operator InputActionMap(PlayerActions set) { return set.Get(); }
|
|
public void SetCallbacks(IPlayerActions instance)
|
|
{
|
|
if (m_Wrapper.m_PlayerActionsCallbackInterface != null)
|
|
{
|
|
@Move.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnMove;
|
|
@Move.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnMove;
|
|
@Move.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnMove;
|
|
@Look.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnLook;
|
|
@Look.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnLook;
|
|
@Look.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnLook;
|
|
@FireGroup1.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup1;
|
|
@FireGroup1.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup1;
|
|
@FireGroup1.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup1;
|
|
@FireGroup2.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup2;
|
|
@FireGroup2.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup2;
|
|
@FireGroup2.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup2;
|
|
@FireGroup3.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup3;
|
|
@FireGroup3.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup3;
|
|
@FireGroup3.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup3;
|
|
@FireGroup4.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup4;
|
|
@FireGroup4.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup4;
|
|
@FireGroup4.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup4;
|
|
@FireGroup5.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup5;
|
|
@FireGroup5.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup5;
|
|
@FireGroup5.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup5;
|
|
@FireGroup6.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup6;
|
|
@FireGroup6.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup6;
|
|
@FireGroup6.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnFireGroup6;
|
|
@MinimapZoom.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnMinimapZoom;
|
|
@MinimapZoom.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnMinimapZoom;
|
|
@MinimapZoom.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnMinimapZoom;
|
|
@NextWeaponGroup.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnNextWeaponGroup;
|
|
@NextWeaponGroup.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnNextWeaponGroup;
|
|
@NextWeaponGroup.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnNextWeaponGroup;
|
|
@PreviousWeaponGroup.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnPreviousWeaponGroup;
|
|
@PreviousWeaponGroup.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnPreviousWeaponGroup;
|
|
@PreviousWeaponGroup.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnPreviousWeaponGroup;
|
|
@NextWeapon.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnNextWeapon;
|
|
@NextWeapon.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnNextWeapon;
|
|
@NextWeapon.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnNextWeapon;
|
|
@PreviousWeapon.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnPreviousWeapon;
|
|
@PreviousWeapon.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnPreviousWeapon;
|
|
@PreviousWeapon.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnPreviousWeapon;
|
|
@ToggleWeaponGroup.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnToggleWeaponGroup;
|
|
@ToggleWeaponGroup.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnToggleWeaponGroup;
|
|
@ToggleWeaponGroup.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnToggleWeaponGroup;
|
|
@TargetReticle.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetReticle;
|
|
@TargetReticle.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetReticle;
|
|
@TargetReticle.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetReticle;
|
|
@TargetPrevious.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetPrevious;
|
|
@TargetPrevious.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetPrevious;
|
|
@TargetPrevious.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetPrevious;
|
|
@TargetNext.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetNext;
|
|
@TargetNext.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetNext;
|
|
@TargetNext.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetNext;
|
|
@TargetNearest.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetNearest;
|
|
@TargetNearest.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetNearest;
|
|
@TargetNearest.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnTargetNearest;
|
|
@ToggleHeatsinks.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnToggleHeatsinks;
|
|
@ToggleHeatsinks.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnToggleHeatsinks;
|
|
@ToggleHeatsinks.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnToggleHeatsinks;
|
|
@EnterWormhole.started -= m_Wrapper.m_PlayerActionsCallbackInterface.OnEnterWormhole;
|
|
@EnterWormhole.performed -= m_Wrapper.m_PlayerActionsCallbackInterface.OnEnterWormhole;
|
|
@EnterWormhole.canceled -= m_Wrapper.m_PlayerActionsCallbackInterface.OnEnterWormhole;
|
|
}
|
|
m_Wrapper.m_PlayerActionsCallbackInterface = instance;
|
|
if (instance != null)
|
|
{
|
|
@Move.started += instance.OnMove;
|
|
@Move.performed += instance.OnMove;
|
|
@Move.canceled += instance.OnMove;
|
|
@Look.started += instance.OnLook;
|
|
@Look.performed += instance.OnLook;
|
|
@Look.canceled += instance.OnLook;
|
|
@FireGroup1.started += instance.OnFireGroup1;
|
|
@FireGroup1.performed += instance.OnFireGroup1;
|
|
@FireGroup1.canceled += instance.OnFireGroup1;
|
|
@FireGroup2.started += instance.OnFireGroup2;
|
|
@FireGroup2.performed += instance.OnFireGroup2;
|
|
@FireGroup2.canceled += instance.OnFireGroup2;
|
|
@FireGroup3.started += instance.OnFireGroup3;
|
|
@FireGroup3.performed += instance.OnFireGroup3;
|
|
@FireGroup3.canceled += instance.OnFireGroup3;
|
|
@FireGroup4.started += instance.OnFireGroup4;
|
|
@FireGroup4.performed += instance.OnFireGroup4;
|
|
@FireGroup4.canceled += instance.OnFireGroup4;
|
|
@FireGroup5.started += instance.OnFireGroup5;
|
|
@FireGroup5.performed += instance.OnFireGroup5;
|
|
@FireGroup5.canceled += instance.OnFireGroup5;
|
|
@FireGroup6.started += instance.OnFireGroup6;
|
|
@FireGroup6.performed += instance.OnFireGroup6;
|
|
@FireGroup6.canceled += instance.OnFireGroup6;
|
|
@MinimapZoom.started += instance.OnMinimapZoom;
|
|
@MinimapZoom.performed += instance.OnMinimapZoom;
|
|
@MinimapZoom.canceled += instance.OnMinimapZoom;
|
|
@NextWeaponGroup.started += instance.OnNextWeaponGroup;
|
|
@NextWeaponGroup.performed += instance.OnNextWeaponGroup;
|
|
@NextWeaponGroup.canceled += instance.OnNextWeaponGroup;
|
|
@PreviousWeaponGroup.started += instance.OnPreviousWeaponGroup;
|
|
@PreviousWeaponGroup.performed += instance.OnPreviousWeaponGroup;
|
|
@PreviousWeaponGroup.canceled += instance.OnPreviousWeaponGroup;
|
|
@NextWeapon.started += instance.OnNextWeapon;
|
|
@NextWeapon.performed += instance.OnNextWeapon;
|
|
@NextWeapon.canceled += instance.OnNextWeapon;
|
|
@PreviousWeapon.started += instance.OnPreviousWeapon;
|
|
@PreviousWeapon.performed += instance.OnPreviousWeapon;
|
|
@PreviousWeapon.canceled += instance.OnPreviousWeapon;
|
|
@ToggleWeaponGroup.started += instance.OnToggleWeaponGroup;
|
|
@ToggleWeaponGroup.performed += instance.OnToggleWeaponGroup;
|
|
@ToggleWeaponGroup.canceled += instance.OnToggleWeaponGroup;
|
|
@TargetReticle.started += instance.OnTargetReticle;
|
|
@TargetReticle.performed += instance.OnTargetReticle;
|
|
@TargetReticle.canceled += instance.OnTargetReticle;
|
|
@TargetPrevious.started += instance.OnTargetPrevious;
|
|
@TargetPrevious.performed += instance.OnTargetPrevious;
|
|
@TargetPrevious.canceled += instance.OnTargetPrevious;
|
|
@TargetNext.started += instance.OnTargetNext;
|
|
@TargetNext.performed += instance.OnTargetNext;
|
|
@TargetNext.canceled += instance.OnTargetNext;
|
|
@TargetNearest.started += instance.OnTargetNearest;
|
|
@TargetNearest.performed += instance.OnTargetNearest;
|
|
@TargetNearest.canceled += instance.OnTargetNearest;
|
|
@ToggleHeatsinks.started += instance.OnToggleHeatsinks;
|
|
@ToggleHeatsinks.performed += instance.OnToggleHeatsinks;
|
|
@ToggleHeatsinks.canceled += instance.OnToggleHeatsinks;
|
|
@EnterWormhole.started += instance.OnEnterWormhole;
|
|
@EnterWormhole.performed += instance.OnEnterWormhole;
|
|
@EnterWormhole.canceled += instance.OnEnterWormhole;
|
|
}
|
|
}
|
|
}
|
|
public PlayerActions @Player => new PlayerActions(this);
|
|
|
|
// UI
|
|
private readonly InputActionMap m_UI;
|
|
private IUIActions m_UIActionsCallbackInterface;
|
|
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_Drag;
|
|
public struct UIActions
|
|
{
|
|
private @AetheriaInput m_Wrapper;
|
|
public UIActions(@AetheriaInput wrapper) { m_Wrapper = wrapper; }
|
|
public InputAction @Navigate => m_Wrapper.m_UI_Navigate;
|
|
public InputAction @Submit => m_Wrapper.m_UI_Submit;
|
|
public InputAction @Cancel => m_Wrapper.m_UI_Cancel;
|
|
public InputAction @Point => m_Wrapper.m_UI_Point;
|
|
public InputAction @Click => m_Wrapper.m_UI_Click;
|
|
public InputAction @ScrollWheel => m_Wrapper.m_UI_ScrollWheel;
|
|
public InputAction @MiddleClick => m_Wrapper.m_UI_MiddleClick;
|
|
public InputAction @RightClick => m_Wrapper.m_UI_RightClick;
|
|
public InputAction @Drag => m_Wrapper.m_UI_Drag;
|
|
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 SetCallbacks(IUIActions instance)
|
|
{
|
|
if (m_Wrapper.m_UIActionsCallbackInterface != null)
|
|
{
|
|
@Navigate.started -= m_Wrapper.m_UIActionsCallbackInterface.OnNavigate;
|
|
@Navigate.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnNavigate;
|
|
@Navigate.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnNavigate;
|
|
@Submit.started -= m_Wrapper.m_UIActionsCallbackInterface.OnSubmit;
|
|
@Submit.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnSubmit;
|
|
@Submit.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnSubmit;
|
|
@Cancel.started -= m_Wrapper.m_UIActionsCallbackInterface.OnCancel;
|
|
@Cancel.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnCancel;
|
|
@Cancel.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnCancel;
|
|
@Point.started -= m_Wrapper.m_UIActionsCallbackInterface.OnPoint;
|
|
@Point.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnPoint;
|
|
@Point.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnPoint;
|
|
@Click.started -= m_Wrapper.m_UIActionsCallbackInterface.OnClick;
|
|
@Click.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnClick;
|
|
@Click.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnClick;
|
|
@ScrollWheel.started -= m_Wrapper.m_UIActionsCallbackInterface.OnScrollWheel;
|
|
@ScrollWheel.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnScrollWheel;
|
|
@ScrollWheel.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnScrollWheel;
|
|
@MiddleClick.started -= m_Wrapper.m_UIActionsCallbackInterface.OnMiddleClick;
|
|
@MiddleClick.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnMiddleClick;
|
|
@MiddleClick.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnMiddleClick;
|
|
@RightClick.started -= m_Wrapper.m_UIActionsCallbackInterface.OnRightClick;
|
|
@RightClick.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnRightClick;
|
|
@RightClick.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnRightClick;
|
|
@Drag.started -= m_Wrapper.m_UIActionsCallbackInterface.OnDrag;
|
|
@Drag.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnDrag;
|
|
@Drag.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnDrag;
|
|
}
|
|
m_Wrapper.m_UIActionsCallbackInterface = instance;
|
|
if (instance != null)
|
|
{
|
|
@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;
|
|
@Drag.started += instance.OnDrag;
|
|
@Drag.performed += instance.OnDrag;
|
|
@Drag.canceled += instance.OnDrag;
|
|
}
|
|
}
|
|
}
|
|
public UIActions @UI => new UIActions(this);
|
|
|
|
// Global
|
|
private readonly InputActionMap m_Global;
|
|
private IGlobalActions m_GlobalActionsCallbackInterface;
|
|
private readonly InputAction m_Global_MapToggle;
|
|
private readonly InputAction m_Global_Inventory;
|
|
private readonly InputAction m_Global_Dock;
|
|
public struct GlobalActions
|
|
{
|
|
private @AetheriaInput m_Wrapper;
|
|
public GlobalActions(@AetheriaInput wrapper) { m_Wrapper = wrapper; }
|
|
public InputAction @MapToggle => m_Wrapper.m_Global_MapToggle;
|
|
public InputAction @Inventory => m_Wrapper.m_Global_Inventory;
|
|
public InputAction @Dock => m_Wrapper.m_Global_Dock;
|
|
public InputActionMap Get() { return m_Wrapper.m_Global; }
|
|
public void Enable() { Get().Enable(); }
|
|
public void Disable() { Get().Disable(); }
|
|
public bool enabled => Get().enabled;
|
|
public static implicit operator InputActionMap(GlobalActions set) { return set.Get(); }
|
|
public void SetCallbacks(IGlobalActions instance)
|
|
{
|
|
if (m_Wrapper.m_GlobalActionsCallbackInterface != null)
|
|
{
|
|
@MapToggle.started -= m_Wrapper.m_GlobalActionsCallbackInterface.OnMapToggle;
|
|
@MapToggle.performed -= m_Wrapper.m_GlobalActionsCallbackInterface.OnMapToggle;
|
|
@MapToggle.canceled -= m_Wrapper.m_GlobalActionsCallbackInterface.OnMapToggle;
|
|
@Inventory.started -= m_Wrapper.m_GlobalActionsCallbackInterface.OnInventory;
|
|
@Inventory.performed -= m_Wrapper.m_GlobalActionsCallbackInterface.OnInventory;
|
|
@Inventory.canceled -= m_Wrapper.m_GlobalActionsCallbackInterface.OnInventory;
|
|
@Dock.started -= m_Wrapper.m_GlobalActionsCallbackInterface.OnDock;
|
|
@Dock.performed -= m_Wrapper.m_GlobalActionsCallbackInterface.OnDock;
|
|
@Dock.canceled -= m_Wrapper.m_GlobalActionsCallbackInterface.OnDock;
|
|
}
|
|
m_Wrapper.m_GlobalActionsCallbackInterface = instance;
|
|
if (instance != null)
|
|
{
|
|
@MapToggle.started += instance.OnMapToggle;
|
|
@MapToggle.performed += instance.OnMapToggle;
|
|
@MapToggle.canceled += instance.OnMapToggle;
|
|
@Inventory.started += instance.OnInventory;
|
|
@Inventory.performed += instance.OnInventory;
|
|
@Inventory.canceled += instance.OnInventory;
|
|
@Dock.started += instance.OnDock;
|
|
@Dock.performed += instance.OnDock;
|
|
@Dock.canceled += instance.OnDock;
|
|
}
|
|
}
|
|
}
|
|
public GlobalActions @Global => new GlobalActions(this);
|
|
private int m_KeyboardMouseSchemeIndex = -1;
|
|
public InputControlScheme KeyboardMouseScheme
|
|
{
|
|
get
|
|
{
|
|
if (m_KeyboardMouseSchemeIndex == -1) m_KeyboardMouseSchemeIndex = asset.FindControlSchemeIndex("Keyboard&Mouse");
|
|
return asset.controlSchemes[m_KeyboardMouseSchemeIndex];
|
|
}
|
|
}
|
|
private int m_GamepadSchemeIndex = -1;
|
|
public InputControlScheme GamepadScheme
|
|
{
|
|
get
|
|
{
|
|
if (m_GamepadSchemeIndex == -1) m_GamepadSchemeIndex = asset.FindControlSchemeIndex("Gamepad");
|
|
return asset.controlSchemes[m_GamepadSchemeIndex];
|
|
}
|
|
}
|
|
private int m_JoystickSchemeIndex = -1;
|
|
public InputControlScheme JoystickScheme
|
|
{
|
|
get
|
|
{
|
|
if (m_JoystickSchemeIndex == -1) m_JoystickSchemeIndex = asset.FindControlSchemeIndex("Joystick");
|
|
return asset.controlSchemes[m_JoystickSchemeIndex];
|
|
}
|
|
}
|
|
public interface IPlayerActions
|
|
{
|
|
void OnMove(InputAction.CallbackContext context);
|
|
void OnLook(InputAction.CallbackContext context);
|
|
void OnFireGroup1(InputAction.CallbackContext context);
|
|
void OnFireGroup2(InputAction.CallbackContext context);
|
|
void OnFireGroup3(InputAction.CallbackContext context);
|
|
void OnFireGroup4(InputAction.CallbackContext context);
|
|
void OnFireGroup5(InputAction.CallbackContext context);
|
|
void OnFireGroup6(InputAction.CallbackContext context);
|
|
void OnMinimapZoom(InputAction.CallbackContext context);
|
|
void OnNextWeaponGroup(InputAction.CallbackContext context);
|
|
void OnPreviousWeaponGroup(InputAction.CallbackContext context);
|
|
void OnNextWeapon(InputAction.CallbackContext context);
|
|
void OnPreviousWeapon(InputAction.CallbackContext context);
|
|
void OnToggleWeaponGroup(InputAction.CallbackContext context);
|
|
void OnTargetReticle(InputAction.CallbackContext context);
|
|
void OnTargetPrevious(InputAction.CallbackContext context);
|
|
void OnTargetNext(InputAction.CallbackContext context);
|
|
void OnTargetNearest(InputAction.CallbackContext context);
|
|
void OnToggleHeatsinks(InputAction.CallbackContext context);
|
|
void OnEnterWormhole(InputAction.CallbackContext context);
|
|
}
|
|
public interface IUIActions
|
|
{
|
|
void OnNavigate(InputAction.CallbackContext context);
|
|
void OnSubmit(InputAction.CallbackContext context);
|
|
void OnCancel(InputAction.CallbackContext context);
|
|
void OnPoint(InputAction.CallbackContext context);
|
|
void OnClick(InputAction.CallbackContext context);
|
|
void OnScrollWheel(InputAction.CallbackContext context);
|
|
void OnMiddleClick(InputAction.CallbackContext context);
|
|
void OnRightClick(InputAction.CallbackContext context);
|
|
void OnDrag(InputAction.CallbackContext context);
|
|
}
|
|
public interface IGlobalActions
|
|
{
|
|
void OnMapToggle(InputAction.CallbackContext context);
|
|
void OnInventory(InputAction.CallbackContext context);
|
|
void OnDock(InputAction.CallbackContext context);
|
|
}
|
|
}
|