|
|
|
@ -431,7 +431,7 @@ export class SceneManager {
|
|
|
|
|
if (ev.altKey && ev.key == 'd' && ModeManager.isDebug) { |
|
|
|
|
SceneManager.showDebug = !SceneManager.showDebug; |
|
|
|
|
if (SceneManager.showDebug) { |
|
|
|
|
SceneManager.Instance.scene.debugLayer.show(); |
|
|
|
|
SceneManager.Instance.scene.debugLayer.show({ embedMode: true }); |
|
|
|
|
} else { |
|
|
|
|
SceneManager.Instance.scene.debugLayer.hide(); |
|
|
|
|
} |
|
|
|
|