/// <summary> /// Force the creation of a Debugger object (even in Release mode!) /// </summary> public void ForceDebugger() { if (Debugger != null) { return; } ReleaseModeDebugger = true; Debugger = new Utility.Debugger(this); Debugger.WindowInit(); }
void Init() { if (ReleaseModeDebugger) { if (Debugger == null) { Debugger = new Utility.Debugger(this); Debugger.WindowInit(); } } if (FirstScene != null) { SwitchScene(FirstScene); } OnInit(); }