CogImGui: Let the click pass through when imgui input is disabled.

CogSample: Add Start/Escape menu
This commit is contained in:
Arnaud Jamin
2023-11-07 01:35:57 -05:00
parent dacbaf2bea
commit 294cb56610
11 changed files with 18 additions and 1 deletions
+4 -1
View File
@@ -108,7 +108,10 @@ void ACogSampleGameState::Tick(float DeltaSeconds)
//const float ServerWorldTimeDelta = LocalWorldTime - ServerWorldTime;
//FCogDebugPlot::PlotValue(this, "Server World Time Delta", ServerWorldTimeDelta);
CogWindowManager->Tick(DeltaSeconds);
if (CogWindowManager != nullptr)
{
CogWindowManager->Tick(DeltaSeconds);
}
#endif //ENABLE_COG
}