aboutsummaryrefslogtreecommitdiff
path: root/Assets/Scripts/InputSystem/PlayerControls.inputactions
diff options
context:
space:
mode:
authorSmallFox <2806143047@qq.com>2026-05-14 21:17:29 +0800
committerSmallFox <2806143047@qq.com>2026-05-14 21:17:29 +0800
commit41def44651b5a7c9e917395fad5e7b480640a3a2 (patch)
treefe99b653b956a1be62392ddb2a5eae31f34e09a9 /Assets/Scripts/InputSystem/PlayerControls.inputactions
parent738e4b973666742b077c285272d9eb50072d49dd (diff)
Movement完工
写完了移动,准备开工相机视角
Diffstat (limited to 'Assets/Scripts/InputSystem/PlayerControls.inputactions')
-rw-r--r--Assets/Scripts/InputSystem/PlayerControls.inputactions109
1 files changed, 109 insertions, 0 deletions
diff --git a/Assets/Scripts/InputSystem/PlayerControls.inputactions b/Assets/Scripts/InputSystem/PlayerControls.inputactions
new file mode 100644
index 0000000..ed31d4a
--- /dev/null
+++ b/Assets/Scripts/InputSystem/PlayerControls.inputactions
@@ -0,0 +1,109 @@
+{
+ "name": "PlayerControls",
+ "maps": [
+ {
+ "name": "Player Movement",
+ "id": "cfb355ad-e0aa-4dad-9111-af6e3f1271b2",
+ "actions": [
+ {
+ "name": "Movement",
+ "type": "PassThrough",
+ "id": "1ab3b457-9558-4d1c-b580-1b6a7d3cbd45",
+ "expectedControlType": "Vector2",
+ "processors": "",
+ "interactions": "",
+ "initialStateCheck": false
+ },
+ {
+ "name": "Camera",
+ "type": "Value",
+ "id": "bb5b6b4b-5b42-4192-a498-10356a2b125a",
+ "expectedControlType": "Vector2",
+ "processors": "",
+ "interactions": "",
+ "initialStateCheck": true
+ }
+ ],
+ "bindings": [
+ {
+ "name": "WASD",
+ "id": "d8a77518-37e0-4dd9-8c87-9a6f159ed71b",
+ "path": "2DVector",
+ "interactions": "",
+ "processors": "",
+ "groups": "",
+ "action": "Movement",
+ "isComposite": true,
+ "isPartOfComposite": false
+ },
+ {
+ "name": "up",
+ "id": "4eb43c7b-9a1d-4f13-877b-6b3acf19ad17",
+ "path": "<Keyboard>/w",
+ "interactions": "",
+ "processors": "",
+ "groups": "",
+ "action": "Movement",
+ "isComposite": false,
+ "isPartOfComposite": true
+ },
+ {
+ "name": "down",
+ "id": "2228edfc-964a-42e3-b1ba-53aebb8f0d5f",
+ "path": "<Keyboard>/s",
+ "interactions": "",
+ "processors": "",
+ "groups": "",
+ "action": "Movement",
+ "isComposite": false,
+ "isPartOfComposite": true
+ },
+ {
+ "name": "left",
+ "id": "a35a6c7a-e429-4cb5-90d4-edf345cd188d",
+ "path": "<Keyboard>/a",
+ "interactions": "",
+ "processors": "",
+ "groups": "",
+ "action": "Movement",
+ "isComposite": false,
+ "isPartOfComposite": true
+ },
+ {
+ "name": "right",
+ "id": "c9d8817d-167d-4526-b441-3bfd52363503",
+ "path": "<Keyboard>/d",
+ "interactions": "",
+ "processors": "",
+ "groups": "",
+ "action": "Movement",
+ "isComposite": false,
+ "isPartOfComposite": true
+ },
+ {
+ "name": "",
+ "id": "d0d72338-edcb-44b9-a675-823b93f06cc0",
+ "path": "<Gamepad>/rightStick",
+ "interactions": "",
+ "processors": "StickDeadzone",
+ "groups": "",
+ "action": "Camera",
+ "isComposite": false,
+ "isPartOfComposite": false
+ },
+ {
+ "name": "",
+ "id": "b1f249ca-76f5-4443-85fe-eff12e361675",
+ "path": "<Mouse>/delta",
+ "interactions": "",
+ "processors": "NormalizeVector2",
+ "groups": "",
+ "action": "Camera",
+ "isComposite": false,
+ "isPartOfComposite": false
+ }
+ ]
+ }
+ ],
+ "controlSchemes": []
+} \ No newline at end of file