From d0dc63854c6608019c8571a85f9dd702a12912ee Mon Sep 17 00:00:00 2001 From: yomunsam Date: Thu, 18 Jul 2019 12:47:52 +0800 Subject: [PATCH] bug fix --- Assets/TinaX/Editor/Setup/FrameworkSetup.cs | 27 ++++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/Assets/TinaX/Editor/Setup/FrameworkSetup.cs b/Assets/TinaX/Editor/Setup/FrameworkSetup.cs index 8529d1c..b88c907 100644 --- a/Assets/TinaX/Editor/Setup/FrameworkSetup.cs +++ b/Assets/TinaX/Editor/Setup/FrameworkSetup.cs @@ -255,17 +255,20 @@ private void Draw_Install_Success() /// /// 在引擎编辑器启动的时候加载一次,确保一些框架关键性依赖和配置文件正常 /// - [UnityEditor.InitializeOnLoad] - public class FrameworkAutoSetup - { - static FrameworkAutoSetup() - { - //Debug.Log("喵!"); - foreach(var item in TinaX.Conf.ConfigRegister.ConfigRegisters) - { - item.Action_Create(); - } - } - } + //[UnityEditor.InitializeOnLoad] + //public class FrameworkAutoSetup + //{ + // static FrameworkAutoSetup() + // { + // //Debug.Log("喵!"); + // foreach(var item in TinaX.Conf.ConfigRegister.ConfigRegisters) + // { + // item.Action_Create(); + // } + // } + //} + + //上面这段代码导致了一个很沙雕的bug + }