Fixed up some issues with camera rotation and removed functionality where moving camera disables servo and dc ui panels

This commit is contained in:
Christen
2026-02-11 17:27:30 -05:00
parent 93e0ec0ed9
commit cf5bf4b23b
4 changed files with 56 additions and 27 deletions

View File

@@ -11,14 +11,6 @@ public class ModuleSelector : MonoBehaviour
void Update()
{
// If user is moving the camera, deselect current module
if (Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.A) ||
Input.GetKey(KeyCode.S) || Input.GetKey(KeyCode.D))
{
ClearSelection();
return;
}
if (Input.GetMouseButtonDown(0))
{
// Ignore clicks over UI