From 4bcf818f293e48e27a17e357c8fc7622ae1bb487 Mon Sep 17 00:00:00 2001 From: Snow1226 Date: Wed, 7 Jul 2021 00:48:19 +0900 Subject: [PATCH] Missing confirmation of LockCameraDrag --- CameraPlus/Behaviours/CameraMoverPointer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CameraPlus/Behaviours/CameraMoverPointer.cs b/CameraPlus/Behaviours/CameraMoverPointer.cs index f54bf6b..134c19d 100644 --- a/CameraPlus/Behaviours/CameraMoverPointer.cs +++ b/CameraPlus/Behaviours/CameraMoverPointer.cs @@ -42,7 +42,8 @@ private static void EndDragCamera() _targetCamera.Config.Position = _targetCamera.transform.position; _targetCamera.Config.Rotation = _targetCamera.transform.rotation.eulerAngles; - _targetCamera.Config.Save(); + if(!_targetCamera.Config.LockCameraDrag) + _targetCamera.Config.Save(); _targetCamera = null; }