这是第一个 Unity 开放项目的repo,是 Unity 和社区合作创建的一个小型开源游戏演示,第一款游戏是一款名为 Chop Chop 的动作冒险游戏。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

2208 行
99 KiB

// GENERATED AUTOMATICALLY FROM 'Assets/Settings/Input/GameInput.inputactions'
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;
public class @GameInput : IInputActionCollection, IDisposable
{
public InputActionAsset asset { get; }
public @GameInput()
{
asset = InputActionAsset.FromJson(@"{
""name"": ""GameInput"",
""maps"": [
{
""name"": ""Gameplay"",
""id"": ""37734faa-64e4-48a4-901b-e0ff80b636be"",
""actions"": [
{
""name"": ""Move"",
""type"": ""Value"",
""id"": ""103cf56a-d357-491a-8559-592da00641cc"",
""expectedControlType"": ""Vector2"",
""processors"": ""StickDeadzone"",
""interactions"": """"
},
{
""name"": ""Jump"",
""type"": ""Button"",
""id"": ""d603fc26-b424-4cff-a593-71ee48e3d0ef"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Attack"",
""type"": ""Button"",
""id"": ""65a85ccc-c121-43d5-b6c9-83674e675ddc"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Interact"",
""type"": ""Button"",
""id"": ""d0d85176-6fc5-486b-bc5c-36cdd4cb6a54"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Pause"",
""type"": ""Button"",
""id"": ""f788c753-f77b-43bf-b5b7-bc98b77814ec"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""OpenInventory"",
""type"": ""Button"",
""id"": ""1b6ae4df-f5e6-42fc-92b6-3dcc2e126563"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""RotateCamera"",
""type"": ""Value"",
""id"": ""1c4a88b5-2474-4e49-8f10-f987bde2dee0"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""MouseControlCamera"",
""type"": ""Button"",
""id"": ""3172ea7f-84a3-4236-b03d-2beae11fa2e0"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Run"",
""type"": ""Button"",
""id"": ""495f7a0f-88a3-4e91-92ce-2666f3f4c85e"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
}
],
""bindings"": [
{
""name"": ""Gamepad Left Stick"",
""id"": ""bb70cc63-ec03-4bda-b1f6-edc72656ba83"",
""path"": ""2DVector(mode=2)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Move"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""39063a94-c3b3-4fd9-8dd6-f53600a700dd"",
""path"": ""<Gamepad>/leftStick/up"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""49ff05d5-0d8a-4f79-bd99-fd41cdf0d7bd"",
""path"": ""<Gamepad>/leftStick/down"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""1fc52241-074a-41ac-8a81-2ce840b0290b"",
""path"": ""<Gamepad>/leftStick/left"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""dfd22222-a8e3-4cdb-8f48-6cbffc53def7"",
""path"": ""<Gamepad>/leftStick/right"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard WASD"",
""id"": ""f8b893c4-85c2-492d-89ab-41f8d1520def"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": ""ScaleVector2(x=0.6,y=0.6)"",
""groups"": """",
""action"": ""Move"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""896f18e7-b01d-47a3-a018-7c2230b42022"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""2247f5b8-f6a1-4a90-89f4-9846090bd18c"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""204e90e1-b388-4636-9ba9-6f13df8ba19f"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""611822fd-3a0d-49e1-9c2b-960f877aba76"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard Arrows"",
""id"": ""b437a09d-8ca4-4996-a2f1-edf980623f6e"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": ""ScaleVector2(x=0.6,y=0.6)"",
""groups"": """",
""action"": ""Move"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""d0910d75-c140-4885-b9be-5bb8deae80e0"",
""path"": ""<Keyboard>/upArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""47380ccb-897f-4a93-bac4-3ea860b26105"",
""path"": ""<Keyboard>/downArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""42344a1d-be6c-4a9b-855c-bb33dd318651"",
""path"": ""<Keyboard>/leftArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""13a640b3-5350-4478-8218-495187c01f40"",
""path"": ""<Keyboard>/rightArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Move"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""265ab87e-ba29-4a65-8b54-518f12192e5d"",
""path"": ""<Gamepad>/buttonSouth"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""645ba428-0631-4e32-b9b0-eaac5d9ed36d"",
""path"": ""<Keyboard>/space"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""95428e26-6672-49d7-b72b-ccbfd5b4267d"",
""path"": ""<Gamepad>/buttonWest"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Attack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""91ce58d8-88e1-4ade-945b-59c4f0939828"",
""path"": ""<Keyboard>/f"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Attack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""4c248131-d3fe-4545-b4dc-ba0690c01312"",
""path"": ""<Mouse>/leftButton"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Attack"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""8b85e5da-3435-4347-9595-50cc57356b80"",
""path"": ""<Gamepad>/buttonEast"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Interact"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""433e8393-e1b1-484a-af51-d084849fe7c3"",
""path"": ""<Keyboard>/e"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Interact"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d0e5ef4e-a086-4861-be73-3ab5ea76521f"",
""path"": ""<Gamepad>/start"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Pause"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""cd45c714-729f-438c-bdda-bbfa1bfd66ca"",
""path"": ""<Keyboard>/escape"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Pause"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""937b421c-9467-4b47-a1fd-445b9b44d5c9"",
""path"": ""<Keyboard>/tab"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""OpenInventory"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""ceb892d5-04df-4ccf-8ef6-2a5124d4a2e7"",
""path"": ""<Gamepad>/buttonNorth"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""OpenInventory"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""2b832572-50ef-4dba-aaeb-964ed1c854bb"",
""path"": ""<Gamepad>/rightStick"",
""interactions"": """",
""processors"": ""StickDeadzone,ScaleVector2(x=8,y=8)"",
""groups"": ""KeyboardOrGamepad"",
""action"": ""RotateCamera"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""Keyboard IJKL"",
""id"": ""8e17360e-f036-4963-93f6-05d14787dfb5"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": ""ScaleVector2(x=8,y=8)"",
""groups"": """",
""action"": ""RotateCamera"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""9a4ec3f5-78bf-4f42-b7d7-f1edd7ce12dc"",
""path"": ""<Keyboard>/i"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""RotateCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""5d82874e-55d8-4d54-84f5-c4d59dc3b39c"",
""path"": ""<Keyboard>/k"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""RotateCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""13a13bd5-f4ec-4f5b-9a8e-ef1165cc9f5f"",
""path"": ""<Keyboard>/j"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""RotateCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""78626b57-196b-4f24-9a3f-af2477d3633b"",
""path"": ""<Keyboard>/l"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""RotateCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""88e5a69d-cf1d-43ce-b5ab-9db67f819255"",
""path"": ""<Mouse>/delta"",
""interactions"": """",
""processors"": ""ScaleVector2(x=2,y=2)"",
""groups"": ""KeyboardOrGamepad"",
""action"": ""RotateCamera"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""55713f13-8452-439f-b87e-76d9f2839d7e"",
""path"": ""<Mouse>/rightButton"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MouseControlCamera"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""effcfcac-ef7a-475b-8b36-fba0eae0c360"",
""path"": ""<Keyboard>/shift"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Run"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""c12f6092-2567-4907-bf0c-cb3c67347a0f"",
""path"": ""<Keyboard>/rightShift"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Run"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
},
{
""name"": ""Menus"",
""id"": ""a6b0dc37-2ef3-420d-990a-eef5df26ae21"",
""actions"": [
{
""name"": ""MoveSelection"",
""type"": ""Value"",
""id"": ""ca8fee63-58a3-49c0-9b34-e74351e25113"",
""expectedControlType"": ""Vector2"",
""processors"": ""StickDeadzone"",
""interactions"": """"
},
{
""name"": ""Navigate"",
""type"": ""Value"",
""id"": ""41e1a9d3-6a1b-4ad8-83e5-bc91b00776d6"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Submit"",
""type"": ""Button"",
""id"": ""b81d85ab-f624-432d-89ce-ad8ba0ccf287"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Confirm"",
""type"": ""Button"",
""id"": ""96e1d616-4de6-46d2-9e46-9ba5a4430ff2"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Cancel"",
""type"": ""Button"",
""id"": ""c0e250d4-50a1-4b32-a5e6-f4d8a75bdcd7"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""MouseMove"",
""type"": ""PassThrough"",
""id"": ""df62b304-145b-43af-9a21-8cfd14f72fdb"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Unpause"",
""type"": ""Button"",
""id"": ""a33f8309-65f3-4f8a-8671-c7cb90ef798e"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""ChangeTab"",
""type"": ""Button"",
""id"": ""abff37db-1fb3-4f26-bceb-8ecdfc99fdef"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""InventoryActionButton"",
""type"": ""Button"",
""id"": ""60a66e41-5063-4c5c-b8db-de7aa1aaa1de"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""SaveActionButton"",
""type"": ""Button"",
""id"": ""3707d967-26ed-4b90-902c-15236e8aacc2"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""ResetActionButton"",
""type"": ""Button"",
""id"": ""c92e03f6-273c-4307-ae0f-de0e3a13e636"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Click"",
""type"": ""PassThrough"",
""id"": ""3c44a1cc-f827-4160-814f-7ac94e688aa5"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""Point"",
""type"": ""PassThrough"",
""id"": ""554c5350-fb4a-4799-b522-67713993518b"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""RightClick"",
""type"": ""PassThrough"",
""id"": ""7f6dfbfa-5b44-4a95-bde3-feb4d1958c1e"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """"
},
{
""name"": ""CloseInventory"",
""type"": ""Button"",
""id"": ""43e7e8b3-1957-4ce6-9d0e-92ed54cb4e41"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
}
],
""bindings"": [
{
""name"": """",
""id"": ""66fe9f25-70cd-4276-8872-73b4d1e1a823"",
""path"": ""<Keyboard>/space"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Confirm"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""8fee561c-d3a4-460f-98fa-b3c1844f1245"",
""path"": ""<Gamepad>/buttonSouth"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""9efd6cbf-28cf-4873-accc-59f81c4d8704"",
""path"": ""<Gamepad>/buttonSouth"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Confirm"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""77bc3cae-36d6-4cda-bbf3-5f245a50eca2"",
""path"": ""<Keyboard>/enter"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Confirm"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b03f649e-d5ec-4fad-8614-6a69620c5345"",
""path"": ""<Mouse>/leftButton"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Confirm"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""Gamepad Left Stick"",
""id"": ""abfca31e-4360-48f9-89ac-897570e32b3c"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""MoveSelection"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""9911cc1d-66fd-4d0c-8c17-bffa1050d574"",
""path"": ""<Gamepad>/leftStick/up"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""4ac5ac47-6988-4dfd-87d2-8da3f9879982"",
""path"": ""<Gamepad>/leftStick/down"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""d07aa007-804a-421e-b73d-90d6f4c352d5"",
""path"": ""<Gamepad>/leftStick/left"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""eb46138f-9efd-4063-85f9-1f63a70e7d13"",
""path"": ""<Gamepad>/leftStick/right"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard WASD"",
""id"": ""3d7e43b9-64e0-4b6a-b82e-6eb504598a57"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""MoveSelection"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""d351c5e4-c757-4781-af1d-ee5173546559"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""91ab3aad-c9f9-4d1c-be6f-6c4703800e3e"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""c037d50f-2813-4060-850d-da9525809452"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""e95b9649-71dc-4d05-8634-388360c5aee8"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard Arrows"",
""id"": ""502d18cb-7ec6-408f-94c2-51c48f26b95e"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""MoveSelection"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""f2cd0574-12ba-4c7d-80ec-94d9646a00e4"",
""path"": ""<Keyboard>/upArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""65171f67-9d60-4a1b-9b0a-0e0db39f1dad"",
""path"": ""<Keyboard>/downArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""57f0f1a3-e2b7-4649-92d0-6336f20b6904"",
""path"": ""<Keyboard>/leftArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""a3ea2f5c-5bbb-4819-b9e0-64176a9e24fe"",
""path"": ""<Keyboard>/rightArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Gamepad Dpad"",
""id"": ""7c942501-2d6d-4784-9939-abbe53f3baf9"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""MoveSelection"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""b8e01aae-a9c3-4ea9-9ade-8923eca414ff"",
""path"": ""<Gamepad>/dpad/down"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""7e359d14-3b28-4ec9-836a-d64662f05a0e"",
""path"": ""<Gamepad>/dpad/down"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""ac3f7d0f-447d-4f07-8b43-5799a109f525"",
""path"": ""<Gamepad>/dpad/left"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""a4179b2d-1260-409a-97bc-8179322d1f79"",
""path"": ""<Gamepad>/dpad/right"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""9041691b-5024-463a-b032-59d7f10c38b3"",
""path"": ""<Keyboard>/escape"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Cancel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""1decef6d-d60a-486d-a7da-b0d20e2b18b3"",
""path"": ""<Gamepad>/buttonEast"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Cancel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""10a96123-fa2f-43f5-b596-4ed4c93fd4b3"",
""path"": ""<Gamepad>/start"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Unpause"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b8857ec1-9a5c-4cd2-af29-276683c9151e"",
""path"": ""<Keyboard>/escape"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Unpause"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""23583bb1-6dd5-4287-94bd-3028199fc088"",
""path"": ""<Mouse>/position"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse;KeyboardOrGamepad"",
""action"": ""MouseMove"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""LeftRight Shoulder"",
""id"": ""97d06ecb-7982-4ca0-8cc2-3b6ad8c1a4da"",
""path"": ""1DAxis"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""ChangeTab"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""Negative"",
""id"": ""d5251bc5-8e6d-4a72-ae0d-daf1dfb91ec1"",
""path"": ""<Gamepad>/leftShoulder"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""ChangeTab"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Positive"",
""id"": ""7ef21289-1815-4412-9169-7c38cb932530"",
""path"": ""<Gamepad>/rightShoulder"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""ChangeTab"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""LeftRight [Keyboard]"",
""id"": ""f5ee1475-34c9-440e-97c2-81c7ba9165c9"",
""path"": ""1DAxis"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""ChangeTab"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""negative"",
""id"": ""bffa4ad8-a1e1-492b-bcad-c12571cac8c4"",
""path"": ""<Keyboard>/t"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""ChangeTab"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""positive"",
""id"": ""23952932-013c-4b7c-ae49-c5c1fd00f5e8"",
""path"": ""<Keyboard>/y"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""ChangeTab"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""4306a7b2-67e8-4e85-9264-99218bea9eb4"",
""path"": ""<Keyboard>/q"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""InventoryActionButton"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""56d69440-226f-4a0e-bdfe-c5009b83d8cd"",
""path"": ""<Gamepad>/buttonWest"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""InventoryActionButton"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""35b2621b-540f-4596-b465-01509aeb1abd"",
""path"": ""<Mouse>/leftButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d31f29a9-70b0-46a6-a95a-8392785e17db"",
""path"": ""<Mouse>/position"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Point"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f0675aa2-5361-4e06-a931-2cdce6ca9082"",
""path"": ""<Mouse>/rightButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""RightClick"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""40812b22-b3cc-47df-9ce6-cafe7aa75194"",
""path"": ""*/{Submit}"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Submit"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""Gamepad"",
""id"": ""67ae7bfe-3e5d-4cd5-a72f-9885cfeb5531"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""cb286e5c-9df3-47b6-bd47-ddf8793ba74d"",
""path"": ""<Gamepad>/leftStick/up"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""up"",
""id"": ""b7f48bc3-fe32-4ea1-9c3c-f56a1c44ed88"",
""path"": ""<Gamepad>/rightStick/up"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""ff94cc15-e60b-43c5-97f9-24649f412fe1"",
""path"": ""<Gamepad>/leftStick/down"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""e11acd3a-2071-4874-856a-7244781e5f5c"",
""path"": ""<Gamepad>/rightStick/down"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""ccfeaf5d-d0d9-4a01-8e61-df4e13790407"",
""path"": ""<Gamepad>/leftStick/left"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""d659f372-5110-4992-bc9d-4fc3797b31d6"",
""path"": ""<Gamepad>/rightStick/left"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""c3256c1e-f0ce-4eb5-8408-795413109627"",
""path"": ""<Gamepad>/leftStick/right"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""9042e334-f8b3-47a6-b402-500fe11c23c9"",
""path"": ""<Gamepad>/rightStick/right"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""65ab8341-18ca-457b-9d2b-f36f8ac848cd"",
""path"": ""<Gamepad>/dpad"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""Joystick"",
""id"": ""424384f8-2fd0-47bd-93e1-f217a4b03b7f"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""c57cb9d7-2157-4352-a15b-79f6a1b3b911"",
""path"": ""<Joystick>/stick/up"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""974dad09-6c97-4c8c-89f1-893c958e1b79"",
""path"": ""<Joystick>/stick/down"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""64d85eb3-ca00-4bbc-967c-c259ccdb4a5b"",
""path"": ""<Joystick>/stick/left"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""b7cec2e3-9f06-4c50-83f5-2d8341498f27"",
""path"": ""<Joystick>/stick/right"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard"",
""id"": ""0130a7a5-c304-414e-b8d7-bd3f5db033f7"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""979ca574-fc98-4d35-9e47-a5258f40003e"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""up"",
""id"": ""c996d74d-2ee9-48af-a1ee-7d2122e2f001"",
""path"": ""<Keyboard>/upArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""83a23568-8971-4bbd-866a-ac2bbc1e9e10"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""56560a2e-e901-4bb5-8061-5796ca328497"",
""path"": ""<Keyboard>/downArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""31cc18d0-fc0e-476e-9989-edc489c531f5"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""ef804a9f-b2e5-4da4-92c4-424f39f25e5e"",
""path"": ""<Keyboard>/leftArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""dab0b27a-77b5-4d0a-8d3c-deb8ac27fb33"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""4579dbe7-abf7-4fd3-82d3-fb68f3ddd73e"",
""path"": ""<Keyboard>/rightArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""0c4a1130-8e0c-4035-a7ea-22f8e8e802b8"",
""path"": ""<Keyboard>/tab"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""CloseInventory"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""f135a32f-88e8-4fc1-807b-4d428a2da2e0"",
""path"": ""<Gamepad>/buttonNorth"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""CloseInventory"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""aa5835ba-5794-4b0d-a9e1-758f1f155560"",
""path"": ""<Keyboard>/q"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""SaveActionButton"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b1e73345-2bb0-47b9-8692-54a929aa9516"",
""path"": ""<Gamepad>/buttonWest"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""SaveActionButton"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""85fed4bd-eeca-4bb2-a0ab-eec73cab776a"",
""path"": ""<Keyboard>/r"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""ResetActionButton"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""0f41a27d-da4f-4d33-b8cc-9fa543b4e4cf"",
""path"": ""<Gamepad>/buttonEast"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""ResetActionButton"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
},
{
""name"": ""Dialogues"",
""id"": ""53768bd8-c94e-4805-abee-e6c15ca1fa64"",
""actions"": [
{
""name"": ""MoveSelection"",
""type"": ""Value"",
""id"": ""321a676a-1117-48f9-87de-5137dbc7ff36"",
""expectedControlType"": ""Vector2"",
""processors"": ""StickDeadzone"",
""interactions"": """"
},
{
""name"": ""AdvanceDialogue"",
""type"": ""Button"",
""id"": ""9ace3f39-c79b-4bbc-ac18-26cafae1f479"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
}
],
""bindings"": [
{
""name"": """",
""id"": ""7fdec36e-9182-4c02-b692-3025d78c8431"",
""path"": ""<Keyboard>/space"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""AdvanceDialogue"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""08979c15-12c2-4736-962a-03eec0bff52f"",
""path"": ""<Gamepad>/buttonSouth"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""Jump"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""79fef163-a828-41ee-a93a-f048723efc24"",
""path"": ""<Gamepad>/buttonSouth"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""AdvanceDialogue"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""Gamepad Left Stick"",
""id"": ""e394ce70-6a98-45cb-98ee-3b20d27a398a"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""MoveSelection"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""8bc6adce-3a54-42ce-8517-eece88cb661f"",
""path"": ""<Gamepad>/leftStick/up"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""5aff7603-0943-4b26-b8cc-d6eac659e263"",
""path"": ""<Gamepad>/leftStick/down"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Gamepad Dpad"",
""id"": ""acc1b4ce-fbf1-42e8-b5bc-adbd2d6683e7"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""e3bf74b2-d43d-4388-9799-ea5cfb9a5f0e"",
""path"": ""<Gamepad>/dpad/down"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""3feb6021-6cda-4c4c-8c3a-5759797818b7"",
""path"": ""<Gamepad>/dpad/down"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""ff186dd7-80dc-45d5-abed-2a1508fdea05"",
""path"": ""<Gamepad>/dpad/left"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""ccaa05f6-5ae3-415e-8aca-2979f97ed110"",
""path"": ""<Gamepad>/dpad/right"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""434b8802-4e6f-4fd8-b9a3-29259beb030e"",
""path"": ""<Gamepad>/leftStick/left"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""c3b4dc99-5a17-4abf-bd3b-0dff6bee59e5"",
""path"": ""<Gamepad>/leftStick/right"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard WASD"",
""id"": ""eb995151-9fec-4a96-982d-35630997a2db"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""MoveSelection"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""e7ae5426-fddc-4538-8b11-02f3775e8a94"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""67eae0cd-5651-4dd3-ae9a-d77e8b6ccfc0"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""42a182be-4f7a-4b9e-b71f-e40bbfda9d65"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""86e17316-e711-4701-946b-a1dfbccae2dc"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard Arrows"",
""id"": ""96e37e7c-b10b-4cd5-bf7e-fde7c8245ecb"",
""path"": ""2DVector(mode=1)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""MoveSelection"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""8fe5410a-1366-4abc-98fd-0eb547c66d6c"",
""path"": ""<Keyboard>/upArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""38e85ec9-d601-4e86-acbe-6f61ff72476a"",
""path"": ""<Keyboard>/downArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""46038b59-6fc5-4cad-b0c3-78728baa916b"",
""path"": ""<Keyboard>/leftArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""26ea8a5e-e77d-416c-aa81-28deef164ae9"",
""path"": ""<Keyboard>/rightArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""MoveSelection"",
""isComposite"": false,
""isPartOfComposite"": true
}
]
},
{
""name"": ""Cheats"",
""id"": ""a58ec1e7-2c80-488a-a58c-690c816dd1f7"",
""actions"": [
{
""name"": ""OpenCheatMenu"",
""type"": ""Button"",
""id"": ""92c80776-a34c-4bc5-896a-36fddfe5c93d"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
}
],
""bindings"": [
{
""name"": """",
""id"": ""c1aafc6a-35bc-409b-a9e6-7ab5681ea9f8"",
""path"": ""<Gamepad>/rightTrigger"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""OpenCheatMenu"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""df4ce7ca-8bf4-4389-b9e6-2988b8aa1963"",
""path"": ""<Gamepad>/leftTrigger"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""OpenCheatMenu"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""8e8b3a36-9a8d-4480-a51d-66e7fa933cf1"",
""path"": ""<Keyboard>/c"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""OpenCheatMenu"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
}
],
""controlSchemes"": [
{
""name"": ""KeyboardOrGamepad"",
""bindingGroup"": ""KeyboardOrGamepad"",
""devices"": [
{
""devicePath"": ""<Gamepad>"",
""isOptional"": true,
""isOR"": false
},
{
""devicePath"": ""<Keyboard>"",
""isOptional"": false,
""isOR"": false
},
{
""devicePath"": ""<Mouse>"",
""isOptional"": false,
""isOR"": false
}
]
}
]
}");
// Gameplay
m_Gameplay = asset.FindActionMap("Gameplay", throwIfNotFound: true);
m_Gameplay_Move = m_Gameplay.FindAction("Move", throwIfNotFound: true);
m_Gameplay_Jump = m_Gameplay.FindAction("Jump", throwIfNotFound: true);
m_Gameplay_Attack = m_Gameplay.FindAction("Attack", throwIfNotFound: true);
m_Gameplay_Interact = m_Gameplay.FindAction("Interact", throwIfNotFound: true);
m_Gameplay_Pause = m_Gameplay.FindAction("Pause", throwIfNotFound: true);
m_Gameplay_OpenInventory = m_Gameplay.FindAction("OpenInventory", throwIfNotFound: true);
m_Gameplay_RotateCamera = m_Gameplay.FindAction("RotateCamera", throwIfNotFound: true);
m_Gameplay_MouseControlCamera = m_Gameplay.FindAction("MouseControlCamera", throwIfNotFound: true);
m_Gameplay_Run = m_Gameplay.FindAction("Run", throwIfNotFound: true);
// Menus
m_Menus = asset.FindActionMap("Menus", throwIfNotFound: true);
m_Menus_MoveSelection = m_Menus.FindAction("MoveSelection", throwIfNotFound: true);
m_Menus_Navigate = m_Menus.FindAction("Navigate", throwIfNotFound: true);
m_Menus_Submit = m_Menus.FindAction("Submit", throwIfNotFound: true);
m_Menus_Confirm = m_Menus.FindAction("Confirm", throwIfNotFound: true);
m_Menus_Cancel = m_Menus.FindAction("Cancel", throwIfNotFound: true);
m_Menus_MouseMove = m_Menus.FindAction("MouseMove", throwIfNotFound: true);
m_Menus_Unpause = m_Menus.FindAction("Unpause", throwIfNotFound: true);
m_Menus_ChangeTab = m_Menus.FindAction("ChangeTab", throwIfNotFound: true);
m_Menus_InventoryActionButton = m_Menus.FindAction("InventoryActionButton", throwIfNotFound: true);
m_Menus_SaveActionButton = m_Menus.FindAction("SaveActionButton", throwIfNotFound: true);
m_Menus_ResetActionButton = m_Menus.FindAction("ResetActionButton", throwIfNotFound: true);
m_Menus_Click = m_Menus.FindAction("Click", throwIfNotFound: true);
m_Menus_Point = m_Menus.FindAction("Point", throwIfNotFound: true);
m_Menus_RightClick = m_Menus.FindAction("RightClick", throwIfNotFound: true);
m_Menus_CloseInventory = m_Menus.FindAction("CloseInventory", throwIfNotFound: true);
// Dialogues
m_Dialogues = asset.FindActionMap("Dialogues", throwIfNotFound: true);
m_Dialogues_MoveSelection = m_Dialogues.FindAction("MoveSelection", throwIfNotFound: true);
m_Dialogues_AdvanceDialogue = m_Dialogues.FindAction("AdvanceDialogue", throwIfNotFound: true);
// Cheats
m_Cheats = asset.FindActionMap("Cheats", throwIfNotFound: true);
m_Cheats_OpenCheatMenu = m_Cheats.FindAction("OpenCheatMenu", 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();
}
// Gameplay
private readonly InputActionMap m_Gameplay;
private IGameplayActions m_GameplayActionsCallbackInterface;
private readonly InputAction m_Gameplay_Move;
private readonly InputAction m_Gameplay_Jump;
private readonly InputAction m_Gameplay_Attack;
private readonly InputAction m_Gameplay_Interact;
private readonly InputAction m_Gameplay_Pause;
private readonly InputAction m_Gameplay_OpenInventory;
private readonly InputAction m_Gameplay_RotateCamera;
private readonly InputAction m_Gameplay_MouseControlCamera;
private readonly InputAction m_Gameplay_Run;
public struct GameplayActions
{
private @GameInput m_Wrapper;
public GameplayActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @Move => m_Wrapper.m_Gameplay_Move;
public InputAction @Jump => m_Wrapper.m_Gameplay_Jump;
public InputAction @Attack => m_Wrapper.m_Gameplay_Attack;
public InputAction @Interact => m_Wrapper.m_Gameplay_Interact;
public InputAction @Pause => m_Wrapper.m_Gameplay_Pause;
public InputAction @OpenInventory => m_Wrapper.m_Gameplay_OpenInventory;
public InputAction @RotateCamera => m_Wrapper.m_Gameplay_RotateCamera;
public InputAction @MouseControlCamera => m_Wrapper.m_Gameplay_MouseControlCamera;
public InputAction @Run => m_Wrapper.m_Gameplay_Run;
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 SetCallbacks(IGameplayActions instance)
{
if (m_Wrapper.m_GameplayActionsCallbackInterface != null)
{
@Move.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Move.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Move.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Jump.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Jump.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Jump.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Attack.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Attack.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Attack.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Interact.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Interact.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Interact.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Pause.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@Pause.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@Pause.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@OpenInventory.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@OpenInventory.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@OpenInventory.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@RotateCamera.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@RotateCamera.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@RotateCamera.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@MouseControlCamera.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@MouseControlCamera.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@MouseControlCamera.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@Run.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
@Run.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
@Run.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
}
m_Wrapper.m_GameplayActionsCallbackInterface = instance;
if (instance != null)
{
@Move.started += instance.OnMove;
@Move.performed += instance.OnMove;
@Move.canceled += instance.OnMove;
@Jump.started += instance.OnJump;
@Jump.performed += instance.OnJump;
@Jump.canceled += instance.OnJump;
@Attack.started += instance.OnAttack;
@Attack.performed += instance.OnAttack;
@Attack.canceled += instance.OnAttack;
@Interact.started += instance.OnInteract;
@Interact.performed += instance.OnInteract;
@Interact.canceled += instance.OnInteract;
@Pause.started += instance.OnPause;
@Pause.performed += instance.OnPause;
@Pause.canceled += instance.OnPause;
@OpenInventory.started += instance.OnOpenInventory;
@OpenInventory.performed += instance.OnOpenInventory;
@OpenInventory.canceled += instance.OnOpenInventory;
@RotateCamera.started += instance.OnRotateCamera;
@RotateCamera.performed += instance.OnRotateCamera;
@RotateCamera.canceled += instance.OnRotateCamera;
@MouseControlCamera.started += instance.OnMouseControlCamera;
@MouseControlCamera.performed += instance.OnMouseControlCamera;
@MouseControlCamera.canceled += instance.OnMouseControlCamera;
@Run.started += instance.OnRun;
@Run.performed += instance.OnRun;
@Run.canceled += instance.OnRun;
}
}
}
public GameplayActions @Gameplay => new GameplayActions(this);
// Menus
private readonly InputActionMap m_Menus;
private IMenusActions m_MenusActionsCallbackInterface;
private readonly InputAction m_Menus_MoveSelection;
private readonly InputAction m_Menus_Navigate;
private readonly InputAction m_Menus_Submit;
private readonly InputAction m_Menus_Confirm;
private readonly InputAction m_Menus_Cancel;
private readonly InputAction m_Menus_MouseMove;
private readonly InputAction m_Menus_Unpause;
private readonly InputAction m_Menus_ChangeTab;
private readonly InputAction m_Menus_InventoryActionButton;
private readonly InputAction m_Menus_SaveActionButton;
private readonly InputAction m_Menus_ResetActionButton;
private readonly InputAction m_Menus_Click;
private readonly InputAction m_Menus_Point;
private readonly InputAction m_Menus_RightClick;
private readonly InputAction m_Menus_CloseInventory;
public struct MenusActions
{
private @GameInput m_Wrapper;
public MenusActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @MoveSelection => m_Wrapper.m_Menus_MoveSelection;
public InputAction @Navigate => m_Wrapper.m_Menus_Navigate;
public InputAction @Submit => m_Wrapper.m_Menus_Submit;
public InputAction @Confirm => m_Wrapper.m_Menus_Confirm;
public InputAction @Cancel => m_Wrapper.m_Menus_Cancel;
public InputAction @MouseMove => m_Wrapper.m_Menus_MouseMove;
public InputAction @Unpause => m_Wrapper.m_Menus_Unpause;
public InputAction @ChangeTab => m_Wrapper.m_Menus_ChangeTab;
public InputAction @InventoryActionButton => m_Wrapper.m_Menus_InventoryActionButton;
public InputAction @SaveActionButton => m_Wrapper.m_Menus_SaveActionButton;
public InputAction @ResetActionButton => m_Wrapper.m_Menus_ResetActionButton;
public InputAction @Click => m_Wrapper.m_Menus_Click;
public InputAction @Point => m_Wrapper.m_Menus_Point;
public InputAction @RightClick => m_Wrapper.m_Menus_RightClick;
public InputAction @CloseInventory => m_Wrapper.m_Menus_CloseInventory;
public InputActionMap Get() { return m_Wrapper.m_Menus; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(MenusActions set) { return set.Get(); }
public void SetCallbacks(IMenusActions instance)
{
if (m_Wrapper.m_MenusActionsCallbackInterface != null)
{
@MoveSelection.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@MoveSelection.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@MoveSelection.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@Navigate.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnNavigate;
@Navigate.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnNavigate;
@Navigate.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnNavigate;
@Submit.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnSubmit;
@Submit.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnSubmit;
@Submit.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnSubmit;
@Confirm.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Confirm.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Confirm.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Cancel.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@Cancel.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@Cancel.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@MouseMove.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@MouseMove.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@MouseMove.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@Unpause.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@Unpause.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@Unpause.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@ChangeTab.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@ChangeTab.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@ChangeTab.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@InventoryActionButton.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
@InventoryActionButton.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
@InventoryActionButton.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
@SaveActionButton.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnSaveActionButton;
@SaveActionButton.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnSaveActionButton;
@SaveActionButton.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnSaveActionButton;
@ResetActionButton.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnResetActionButton;
@ResetActionButton.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnResetActionButton;
@ResetActionButton.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnResetActionButton;
@Click.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnClick;
@Click.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnClick;
@Click.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnClick;
@Point.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnPoint;
@Point.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnPoint;
@Point.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnPoint;
@RightClick.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnRightClick;
@RightClick.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnRightClick;
@RightClick.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnRightClick;
@CloseInventory.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnCloseInventory;
@CloseInventory.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnCloseInventory;
@CloseInventory.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnCloseInventory;
}
m_Wrapper.m_MenusActionsCallbackInterface = instance;
if (instance != null)
{
@MoveSelection.started += instance.OnMoveSelection;
@MoveSelection.performed += instance.OnMoveSelection;
@MoveSelection.canceled += instance.OnMoveSelection;
@Navigate.started += instance.OnNavigate;
@Navigate.performed += instance.OnNavigate;
@Navigate.canceled += instance.OnNavigate;
@Submit.started += instance.OnSubmit;
@Submit.performed += instance.OnSubmit;
@Submit.canceled += instance.OnSubmit;
@Confirm.started += instance.OnConfirm;
@Confirm.performed += instance.OnConfirm;
@Confirm.canceled += instance.OnConfirm;
@Cancel.started += instance.OnCancel;
@Cancel.performed += instance.OnCancel;
@Cancel.canceled += instance.OnCancel;
@MouseMove.started += instance.OnMouseMove;
@MouseMove.performed += instance.OnMouseMove;
@MouseMove.canceled += instance.OnMouseMove;
@Unpause.started += instance.OnUnpause;
@Unpause.performed += instance.OnUnpause;
@Unpause.canceled += instance.OnUnpause;
@ChangeTab.started += instance.OnChangeTab;
@ChangeTab.performed += instance.OnChangeTab;
@ChangeTab.canceled += instance.OnChangeTab;
@InventoryActionButton.started += instance.OnInventoryActionButton;
@InventoryActionButton.performed += instance.OnInventoryActionButton;
@InventoryActionButton.canceled += instance.OnInventoryActionButton;
@SaveActionButton.started += instance.OnSaveActionButton;
@SaveActionButton.performed += instance.OnSaveActionButton;
@SaveActionButton.canceled += instance.OnSaveActionButton;
@ResetActionButton.started += instance.OnResetActionButton;
@ResetActionButton.performed += instance.OnResetActionButton;
@ResetActionButton.canceled += instance.OnResetActionButton;
@Click.started += instance.OnClick;
@Click.performed += instance.OnClick;
@Click.canceled += instance.OnClick;
@Point.started += instance.OnPoint;
@Point.performed += instance.OnPoint;
@Point.canceled += instance.OnPoint;
@RightClick.started += instance.OnRightClick;
@RightClick.performed += instance.OnRightClick;
@RightClick.canceled += instance.OnRightClick;
@CloseInventory.started += instance.OnCloseInventory;
@CloseInventory.performed += instance.OnCloseInventory;
@CloseInventory.canceled += instance.OnCloseInventory;
}
}
}
public MenusActions @Menus => new MenusActions(this);
// Dialogues
private readonly InputActionMap m_Dialogues;
private IDialoguesActions m_DialoguesActionsCallbackInterface;
private readonly InputAction m_Dialogues_MoveSelection;
private readonly InputAction m_Dialogues_AdvanceDialogue;
public struct DialoguesActions
{
private @GameInput m_Wrapper;
public DialoguesActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @MoveSelection => m_Wrapper.m_Dialogues_MoveSelection;
public InputAction @AdvanceDialogue => m_Wrapper.m_Dialogues_AdvanceDialogue;
public InputActionMap Get() { return m_Wrapper.m_Dialogues; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(DialoguesActions set) { return set.Get(); }
public void SetCallbacks(IDialoguesActions instance)
{
if (m_Wrapper.m_DialoguesActionsCallbackInterface != null)
{
@MoveSelection.started -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@MoveSelection.performed -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@MoveSelection.canceled -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@AdvanceDialogue.started -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
@AdvanceDialogue.performed -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
@AdvanceDialogue.canceled -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
}
m_Wrapper.m_DialoguesActionsCallbackInterface = instance;
if (instance != null)
{
@MoveSelection.started += instance.OnMoveSelection;
@MoveSelection.performed += instance.OnMoveSelection;
@MoveSelection.canceled += instance.OnMoveSelection;
@AdvanceDialogue.started += instance.OnAdvanceDialogue;
@AdvanceDialogue.performed += instance.OnAdvanceDialogue;
@AdvanceDialogue.canceled += instance.OnAdvanceDialogue;
}
}
}
public DialoguesActions @Dialogues => new DialoguesActions(this);
// Cheats
private readonly InputActionMap m_Cheats;
private ICheatsActions m_CheatsActionsCallbackInterface;
private readonly InputAction m_Cheats_OpenCheatMenu;
public struct CheatsActions
{
private @GameInput m_Wrapper;
public CheatsActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @OpenCheatMenu => m_Wrapper.m_Cheats_OpenCheatMenu;
public InputActionMap Get() { return m_Wrapper.m_Cheats; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(CheatsActions set) { return set.Get(); }
public void SetCallbacks(ICheatsActions instance)
{
if (m_Wrapper.m_CheatsActionsCallbackInterface != null)
{
@OpenCheatMenu.started -= m_Wrapper.m_CheatsActionsCallbackInterface.OnOpenCheatMenu;
@OpenCheatMenu.performed -= m_Wrapper.m_CheatsActionsCallbackInterface.OnOpenCheatMenu;
@OpenCheatMenu.canceled -= m_Wrapper.m_CheatsActionsCallbackInterface.OnOpenCheatMenu;
}
m_Wrapper.m_CheatsActionsCallbackInterface = instance;
if (instance != null)
{
@OpenCheatMenu.started += instance.OnOpenCheatMenu;
@OpenCheatMenu.performed += instance.OnOpenCheatMenu;
@OpenCheatMenu.canceled += instance.OnOpenCheatMenu;
}
}
}
public CheatsActions @Cheats => new CheatsActions(this);
private int m_KeyboardOrGamepadSchemeIndex = -1;
public InputControlScheme KeyboardOrGamepadScheme
{
get
{
if (m_KeyboardOrGamepadSchemeIndex == -1) m_KeyboardOrGamepadSchemeIndex = asset.FindControlSchemeIndex("KeyboardOrGamepad");
return asset.controlSchemes[m_KeyboardOrGamepadSchemeIndex];
}
}
public interface IGameplayActions
{
void OnMove(InputAction.CallbackContext context);
void OnJump(InputAction.CallbackContext context);
void OnAttack(InputAction.CallbackContext context);
void OnInteract(InputAction.CallbackContext context);
void OnPause(InputAction.CallbackContext context);
void OnOpenInventory(InputAction.CallbackContext context);
void OnRotateCamera(InputAction.CallbackContext context);
void OnMouseControlCamera(InputAction.CallbackContext context);
void OnRun(InputAction.CallbackContext context);
}
public interface IMenusActions
{
void OnMoveSelection(InputAction.CallbackContext context);
void OnNavigate(InputAction.CallbackContext context);
void OnSubmit(InputAction.CallbackContext context);
void OnConfirm(InputAction.CallbackContext context);
void OnCancel(InputAction.CallbackContext context);
void OnMouseMove(InputAction.CallbackContext context);
void OnUnpause(InputAction.CallbackContext context);
void OnChangeTab(InputAction.CallbackContext context);
void OnInventoryActionButton(InputAction.CallbackContext context);
void OnSaveActionButton(InputAction.CallbackContext context);
void OnResetActionButton(InputAction.CallbackContext context);
void OnClick(InputAction.CallbackContext context);
void OnPoint(InputAction.CallbackContext context);
void OnRightClick(InputAction.CallbackContext context);
void OnCloseInventory(InputAction.CallbackContext context);
}
public interface IDialoguesActions
{
void OnMoveSelection(InputAction.CallbackContext context);
void OnAdvanceDialogue(InputAction.CallbackContext context);
}
public interface ICheatsActions
{
void OnOpenCheatMenu(InputAction.CallbackContext context);
}
}