public static void ResetAllStatic() { RuntimeInspector.ResetStatic(); NavigationCamera.ResetStatic(); GUIChangeBool.ResetStatic(); DrawEnum.ResetStatic(); CullGroup.ResetStatic(); HtmlDebug.ResetStatic(); }
void OnDestroy() { if (instance == this) { instance = null; } if (!isQuitting) { CloseLog("OnDestroy"); } }
void CheckThread(int threadId) { if (threadId == -1) { threadId = HtmlDebug.GetThreadId(); } if (threadId != -1 && threadId != HtmlDebug.mainThreadId) { threadString = " [Thread " + threadId + "]"; } }
void Awake() { if (instance != null) { Debug.LogError("You have more than 1 HtmlDebug GameObject, make sure to only use 1"); return; } instance = this; logCallBack = new WaitCallback(WriteLogs); if (!openLogManually) { OpenLog(Helper.GetConsoleLogPath()); } // DontDestroyOnLoad(gameObject); }