Esempio n. 1
0
        private static void OnUnityStart()
        {
            ResManager.GarbageCollector.GarbageCollectorEvents[0].Insert(0, GlobalLua.DeepGCStep);
#if UNITY_EDITOR
            ResManager.AddInitItem(ResManager.LifetimeOrders.Zero, GlobalLuaEditorCheck);
#endif
        }
        private static void OnUnityStart()
        {
#if !UNITY_EDITOR
            ResManager.AddInitItem(ResManager.LifetimeOrders.EntrySceneBgLoad, CapsUnityMainBehav.LoadEntrySceneBg);
            ResManager.AddInitItem(ResManager.LifetimeOrders.EntrySceneBgUnload, CapsUnityMainBehav.UnloadEntrySceneBg);
            ResManager.AddInitItem(_ArrangeUpdateInitItem);
#endif
        }
Esempio n. 3
0
        private static void OnUnityStart()
        {
            ResManager.AssetBundleLoaderEx.Add(__CapsPHFontLoaderBundleLoaderEx);

            if (ResManager.ResLoader is ResManager.ClientResLoader)
            {
                ResManager.AddInitItem(ResManager.LifetimeOrders.PostResLoader - 5, LoadFont);
            }
        }