From 3dcf88a36c072e42005c48dae419c66996c96f84 Mon Sep 17 00:00:00 2001 From: SmallFox <2806143047@qq.com> Date: Thu, 21 May 2026 07:21:06 +0800 Subject: 摄像机视角实现 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 实现跟随自由旋转 --- Assets/Scripts/InputSystem/PlayerControls.cs | 2 +- Assets/Scripts/InputSystem/PlayerControls.inputactions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Assets/Scripts/InputSystem') diff --git a/Assets/Scripts/InputSystem/PlayerControls.cs b/Assets/Scripts/InputSystem/PlayerControls.cs index 71ef71f..c76f6ba 100644 --- a/Assets/Scripts/InputSystem/PlayerControls.cs +++ b/Assets/Scripts/InputSystem/PlayerControls.cs @@ -38,7 +38,7 @@ public partial class @PlayerControls: IInputActionCollection2, IDisposable }, { ""name"": ""Camera"", - ""type"": ""Value"", + ""type"": ""PassThrough"", ""id"": ""bb5b6b4b-5b42-4192-a498-10356a2b125a"", ""expectedControlType"": ""Vector2"", ""processors"": """", diff --git a/Assets/Scripts/InputSystem/PlayerControls.inputactions b/Assets/Scripts/InputSystem/PlayerControls.inputactions index ed31d4a..e71a5c9 100644 --- a/Assets/Scripts/InputSystem/PlayerControls.inputactions +++ b/Assets/Scripts/InputSystem/PlayerControls.inputactions @@ -16,7 +16,7 @@ }, { "name": "Camera", - "type": "Value", + "type": "PassThrough", "id": "bb5b6b4b-5b42-4192-a498-10356a2b125a", "expectedControlType": "Vector2", "processors": "", -- cgit