Skip to main content

Debug Camera

The goal of the Debug Camera is to be used as a flying camera to quickly look and fly around during playmode without this interfering with the game.

The recommended way to activate the Debug Camera is by just switching the InputMode because it allows you to check the inputmode to see whether we are currently debugging and prevent the character from moving when controlling the debug camera.

Change to the Debug mode can be done using the Console or by using

InputMode.SetInputModeDebug();

Additionally if you choose not to use the InputMode approach you can call these functions

using ExtensionTools.Camera;

...

DebugCamera.INSTANCE.Activate();
DebugCamera.INSTANCE.Deactivate();