From 42662152eee553b97ebc36e9ef184bcddce451be Mon Sep 17 00:00:00 2001 From: xpeng <1216772231@qq.com> Date: Sat, 27 Aug 2022 00:24:28 +0200 Subject: [PATCH] fix camera smooth bug again --- Assets/Scripts/Configs/NoneVRSettingManager.cs | 2 +- ProjectSettings/ProjectSettings.asset | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Configs/NoneVRSettingManager.cs b/Assets/Scripts/Configs/NoneVRSettingManager.cs index 4362812..6d68442 100644 --- a/Assets/Scripts/Configs/NoneVRSettingManager.cs +++ b/Assets/Scripts/Configs/NoneVRSettingManager.cs @@ -88,7 +88,7 @@ public class NoneVRSettingManager : MonoBehaviour break; } JsonConfig.SetInt("NVRMode", Dropdown.value); - JsonConfig.SetDouble("NVRCameraSmooth", Dropdown.value); + JsonConfig.SetDouble("NVRCameraSmooth", CameraSmooth.smoothSpeed); } public void SetNVRFOV(float fov) { diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 434fa22..9ec70e8 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -195,6 +195,7 @@ PlayerSettings: - {fileID: 0} - {fileID: 0} - {fileID: 0} + - {fileID: 0} - {fileID: -6018045015233401694, guid: 3999ab811e936714280a476b3a032d86, type: 2} - {fileID: 6536100391545742739, guid: 55d1ec7a4296de343b6d3bb6f9a19731, type: 2} metroInputSource: 0