2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 22:27:42 +00:00

Add trigger visualization to inspecter

This commit is contained in:
2021-05-27 01:30:40 -07:00
committed by Luke Street
parent acb827a3b5
commit 0a76ee1ae2
5 changed files with 39 additions and 4 deletions

View File

@@ -580,6 +580,8 @@ void CStateManager::DrawDebugStuff() const {
if (debugToolDrawPlatformCollision->toBoolean() && plat->GetActive()) {
plat->DebugDraw();
}
} else if (const TCastToPtr<CScriptTrigger> tr = ent) {
tr->DebugDraw();
}
}