added camera controls to editor

This commit is contained in:
2026-01-25 11:44:06 +01:00
parent bf4189bba0
commit 236da3059f
9 changed files with 271 additions and 15 deletions

View File

@@ -17,6 +17,7 @@ void TSE::IKeyInputHandler::Enable()
if(!enabled())
{
IInputManager::instance()->RegisterKeyHandler(this);
Enabled = true;
}
}
@@ -25,6 +26,7 @@ void TSE::IKeyInputHandler::Disable()
if(enabled())
{
IInputManager::instance()->UnregisterKeyHandler(this);
Enabled = false;
}
}