Add scene debug layer toggles

This commit is contained in:
2026-06-09 15:25:56 +08:00
parent 0a59d20ffa
commit 3a19005bbf
7 changed files with 51 additions and 22 deletions
+4
View File
@@ -69,6 +69,10 @@ void DebugOverlay::Render(const LevelDefinition& level, const DebugFlags& flags,
const frostbite2D::Rect* playerBounds,
const std::vector<BattleZoneDebugInfo>*
battleZoneDebug) const {
if (!flags.enabled) {
return;
}
if (flags.showCollision) {
drawCollision(level);
}