public static void OnMainProjectReady() { RegisterEditorMgrbase(Types); //Editor的管理器初始化 BDFrameEditorBehaviorHelper.Init(); //调试器启动 DebuggerServerProcessManager.Inst.Start(); BuildHotfixDll(); }
static public void InitBDEditorLife() { //Editor的管理器初始化 RegisterEditorMgrInstance(); //BD生命周期启动 BDFrameEditorBehaviorHelper.Init(); BDFrameEditorConfigHelper.Init(); BDApplication.Init(); //编辑器下加载初始化 BResources.Load(AssetLoadPath.Editor); //调试器启动 DebuggerServerProcessManager.Inst.Start(); //TODO //这一行还是不能加到框架层,应该还是:哪里用 哪里主动load, //然后用完了close(SqliteLoder.Close())。 //不然sql文件editor环境下一直被占用,很多麻烦事 // SqliteLoder.Load(Application.streamingAssetsPath); }