From 2c14d8f19945dd4946bf34b2b6596637342e404c Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 30 Jan 2026 20:07:24 +0800 Subject: 初次提交 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/MultiplayInput.inputactions | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Assets/MultiplayInput.inputactions (limited to 'Assets/MultiplayInput.inputactions') diff --git a/Assets/MultiplayInput.inputactions b/Assets/MultiplayInput.inputactions new file mode 100644 index 0000000..101a364 --- /dev/null +++ b/Assets/MultiplayInput.inputactions @@ -0,0 +1,13 @@ +{ + "version": 1, + "name": "MultiplayInput", + "maps": [ + { + "name": "Player", + "id": "769d94de-829b-42fe-883f-3cc8e156d6c2", + "actions": [], + "bindings": [] + } + ], + "controlSchemes": [] +} \ No newline at end of file -- cgit From bdd0c3eee905c5dc6fcf22344f7fdbd4cc3e3a02 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 30 Jan 2026 23:07:07 +0800 Subject: 完成双角色操纵 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/MultiplayInput.inputactions | 60 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 3 deletions(-) (limited to 'Assets/MultiplayInput.inputactions') diff --git a/Assets/MultiplayInput.inputactions b/Assets/MultiplayInput.inputactions index 101a364..b3e169c 100644 --- a/Assets/MultiplayInput.inputactions +++ b/Assets/MultiplayInput.inputactions @@ -5,9 +5,63 @@ { "name": "Player", "id": "769d94de-829b-42fe-883f-3cc8e156d6c2", - "actions": [], - "bindings": [] + "actions": [ + { + "name": "Movement", + "type": "Value", + "id": "7d9ad0c8-f488-4a9a-9a73-47f4e6155aaf", + "expectedControlType": "Vector2", + "processors": "", + "interactions": "", + "initialStateCheck": true + }, + { + "name": "Grabbing", + "type": "Button", + "id": "9ad831f2-7a5b-488c-9595-7bfe45bec0c2", + "expectedControlType": "", + "processors": "", + "interactions": "", + "initialStateCheck": false + } + ], + "bindings": [ + { + "name": "", + "id": "f9159894-82c1-4f13-a4e7-4439e7129827", + "path": "/leftStick", + "interactions": "", + "processors": "", + "groups": ";General;XboxController", + "action": "Movement", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "ba722a4c-12ce-40df-bb52-43672eec34fc", + "path": "/buttonSouth", + "interactions": "", + "processors": "", + "groups": ";General;XboxController", + "action": "Grabbing", + "isComposite": false, + "isPartOfComposite": false + } + ] } ], - "controlSchemes": [] + "controlSchemes": [ + { + "name": "General", + "bindingGroup": "General", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] + } + ] } \ No newline at end of file -- cgit