public static void AdvanceOutputState()
{
switch (_state) {
case DebugOutputState.None:
_debugCommandUI.ExecuteCommand("tr on log:on");
_debugCommandUI.ExecuteCommand("fps on");
_debugCommandUI.ExecuteCommand("memory on");
_state = DebugOutputState.Basic;
break;
case DebugOutputState.Basic:
_debugCommandUI.ExecuteCommand("fps off");
_debugCommandUI.ExecuteCommand("memory off");
_debugCommandUI.ExecuteCommand("th on");
_state = DebugOutputState.TimeHistory;
break;
case DebugOutputState.TimeHistory:
_debugCommandUI.ExecuteCommand("tr off log:off");
_debugCommandUI.ExecuteCommand("fps off");
_debugCommandUI.ExecuteCommand("memory off");
_debugCommandUI.ExecuteCommand("th off");
_state = DebugOutputState.None;
break;
}
}