mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Fixed Input IsKeyPressed system, F6 to pause the game while running, F6 to start/stop
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
#include "Windows/EditorInterface.h"
|
||||
#include "Misc/GizmoDrawer.h"
|
||||
|
||||
#include "src/Core/Input.h"
|
||||
|
||||
#include <glad/glad.h>
|
||||
|
||||
|
||||
@@ -65,6 +67,8 @@ void EditorLayer::OnUpdate()
|
||||
m_EditorInterface->Draw();
|
||||
m_EditorInterface->Update(Nuake::Engine::GetTimestep());
|
||||
Nuake::Engine::EndDraw();
|
||||
|
||||
Nuake::Input::Update();
|
||||
}
|
||||
|
||||
void EditorLayer::OnDetach()
|
||||
|
||||
Reference in New Issue
Block a user