private void Awake() { if (_dataObject == null) { throw new NullReferenceException("Data object is null!"); } DontDestroyOnLoad(this); // Init KDebug KDebug.Initialise(_dataObject.Data, _consoleWindow, new Performance.KPerformanceTracker(), _displayHandler); }
private void OnDestroy() { KDebug.Shutdown(); }
private void OnGUI() { KDebug.OnGUI(); }
private void Update() { KDebug.Update(); }