فهرست منبع

fix:删除opencoding代码

chenbin 1 هفته پیش
والد
کامیت
2160e66334
1فایلهای تغییر یافته به همراه1 افزوده شده و 12 حذف شده
  1. 1 12
      Assets/Scripts/Framework/Runtime/Log/XOpencoding.cs

+ 1 - 12
Assets/Scripts/Framework/Runtime/Log/XOpencoding.cs

@@ -10,23 +10,12 @@ namespace XGame.Framework
         [Conditional(MacroDefine.DEBUG), Conditional(MacroDefine.PROFILER)]
         public static void Initialize()
         {
-            //加载并且实例预制
-#if UNITY_WEBGL || UNITY_WEIXINMINIGAME
-#else
-            _debugConsoleGO = Object.Instantiate(Resources.Load<GameObject>("DebugConsole"));
-            Opencoding.LogHistory.LogHandler.ConsoleVisibleChangedEvent += OnConsoleVisibleChanged;
-#endif
+
         }
 
         [Conditional(MacroDefine.DEBUG), Conditional(MacroDefine.PROFILER)]
         public static void Dispose()
         {
-#if UNITY_WEBGL || UNITY_WEIXINMINIGAME
-#else
-            Object.DestroyImmediate(_debugConsoleGO);
-            _debugConsoleGO = null;
-            Opencoding.LogHistory.LogHandler.ConsoleVisibleChangedEvent -= OnConsoleVisibleChanged;
-#endif
         }
 
         /// <summary>