From fc5b509cd0f91186f71e290dd65622943c0ab7f2 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Sun, 27 Feb 2022 11:36:48 +0300 Subject: [PATCH] WASD Movement Added --- Assets/Input/Player.cs | 22 ++++++++++++++++++++++ Assets/Input/Player.inputactions | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/Assets/Input/Player.cs b/Assets/Input/Player.cs index 194655b..db89421 100644 --- a/Assets/Input/Player.cs +++ b/Assets/Input/Player.cs @@ -98,6 +98,17 @@ namespace Input ""isComposite"": false, ""isPartOfComposite"": true }, + { + ""name"": ""negative"", + ""id"": ""8e34175e-1972-4375-ba6e-a165f1665015"", + ""path"": ""/a"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""KeyBoard"", + ""action"": ""Move"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, { ""name"": ""positive"", ""id"": ""064aa7d7-b08b-4cea-915f-e225e5c62072"", @@ -109,6 +120,17 @@ namespace Input ""isComposite"": false, ""isPartOfComposite"": true }, + { + ""name"": ""positive"", + ""id"": ""51f40a3f-9685-40e9-8cbd-5d3147ee05e1"", + ""path"": ""/d"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""KeyBoard"", + ""action"": ""Move"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, { ""name"": ""1D Axis Gamepad"", ""id"": ""93eaa249-8b44-4767-b233-0ed70a500631"", diff --git a/Assets/Input/Player.inputactions b/Assets/Input/Player.inputactions index a5ae1f3..0284bc4 100644 --- a/Assets/Input/Player.inputactions +++ b/Assets/Input/Player.inputactions @@ -74,6 +74,17 @@ "isComposite": false, "isPartOfComposite": true }, + { + "name": "negative", + "id": "8e34175e-1972-4375-ba6e-a165f1665015", + "path": "/a", + "interactions": "", + "processors": "", + "groups": "KeyBoard", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, { "name": "positive", "id": "064aa7d7-b08b-4cea-915f-e225e5c62072", @@ -85,6 +96,17 @@ "isComposite": false, "isPartOfComposite": true }, + { + "name": "positive", + "id": "51f40a3f-9685-40e9-8cbd-5d3147ee05e1", + "path": "/d", + "interactions": "", + "processors": "", + "groups": "KeyBoard", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, { "name": "1D Axis Gamepad", "id": "93eaa249-8b44-4767-b233-0ed70a500631",