1
0
mirror of https://github.com/xiaopeng12138/MaiDXR.git synced 2024-11-27 20:40:48 +01:00

fix camera smooth bug again

This commit is contained in:
xpeng 2022-08-27 00:24:28 +02:00
parent dc8c5b22b1
commit 42662152ee
2 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class NoneVRSettingManager : MonoBehaviour
break; break;
} }
JsonConfig.SetInt("NVRMode", Dropdown.value); JsonConfig.SetInt("NVRMode", Dropdown.value);
JsonConfig.SetDouble("NVRCameraSmooth", Dropdown.value); JsonConfig.SetDouble("NVRCameraSmooth", CameraSmooth.smoothSpeed);
} }
public void SetNVRFOV(float fov) public void SetNVRFOV(float fov)
{ {

View File

@ -195,6 +195,7 @@ PlayerSettings:
- {fileID: 0} - {fileID: 0}
- {fileID: 0} - {fileID: 0}
- {fileID: 0} - {fileID: 0}
- {fileID: 0}
- {fileID: -6018045015233401694, guid: 3999ab811e936714280a476b3a032d86, type: 2} - {fileID: -6018045015233401694, guid: 3999ab811e936714280a476b3a032d86, type: 2}
- {fileID: 6536100391545742739, guid: 55d1ec7a4296de343b6d3bb6f9a19731, type: 2} - {fileID: 6536100391545742739, guid: 55d1ec7a4296de343b6d3bb6f9a19731, type: 2}
metroInputSource: 0 metroInputSource: 0