free rotate camera

This commit is contained in:
2026-05-13 21:01:50 -05:00
parent aee3fe9ea7
commit 8fef9c25d7
10 changed files with 262 additions and 46 deletions
+1 -12
View File
@@ -47,6 +47,7 @@ void Update()
{
if (!paused)
{
Cursor.lockState = CursorLockMode.None;
Time.timeScale = 0;
canUseTools = false;
hasControl = false;
@@ -73,18 +74,6 @@ void Update()
CheckWeaponChange();
ApplyWalk();
// TODO: This is just for testing, remove or clean up if used
if (Input.GetKeyDown(KeyCode.Q))
{
cameraController.RotateCam();
}
// TODO: Add actual save feature later, this is just for test
if (Input.GetKeyDown(KeyCode.I))
{
SaveSystem.Save();
}
}
if (canUseTools)