DebugLevel
Extends: roAssociativeArray
One step of a BGE.Debug.DebugToggle cycle. Every field is optional.
The flags (showUi, colliders, entityDetails, safeZones, occlusion) a toggle manages are the ones any of its levels sets: a level turns those on or off (missing = off), and flags no level mentions are left alone, so a game can still set them itself.
Properties
showUi(boolean) — Show the debug UI panels (Game.debugShowUi())colliders(boolean) — Draw colliders (Game.debugDrawColliders())entityDetails(boolean) — Draw entity axes and names (Game.debugDrawEntityDetails())safeZones(boolean) — Draw the title/action safe zones (Game.debugDrawSafeZones())occlusion(boolean) — Draw the occlusion culling overlay (Game.debugDrawOcclusion())panels(roAssociativeArray) — Replaces the debug UI's panels with Game.enableStandardDebugUi(panels) - this clearsapply(function) — Called after the flags above are applied, for anything else this level should do