public CapsEditorInitializer_ResManager()
            {
                ResManagerEditorEntry.ShouldAlreadyInit();
                CapsModEditor.ShouldAlreadyInit();

                CapsPackageEditor.OnPackagesChanged           += OnPackagesChanged;
                CapsDistributeEditor.OnDistributeFlagsChanged += OnDistributeFlagsChanged;
                //CapsDistributeEditor.OnDistributeFlagsChanged += CapsModEditor.CheckModsVisibility;
                //CapsDistributeEditor.OnDistributeFlagsChanged += UnityEngineEx.ResManager.RebuildRuntimeResCache;
            }
        static CapsPHFontEditor()
        {
            if (PlatDependant.IsFileExist("EditorOutput/Runtime/phfont.txt"))
            {
                ParseCachedPHFonts();
                if (CheckCachedPHFonts())
                {
                    SaveCachedPHFonts();
                }
            }
            else
            {
                CheckAllPHFonts();
                SaveCachedPHFonts();
            }

            CapsModEditor.ShouldAlreadyInit();
            CapsPackageEditor.OnPackagesChanged += () =>
            {
                if (PlatDependant.IsFileExist("EditorOutput/Runtime/rfont.txt"))
                {
                    if (LoadCachedReplacement())
                    {
                        SaveCachedReplacement();
                    }
                }
                else
                {
                    CheckAllReplacements();
                    SaveCachedReplacement();
                }

                ReplaceRuntimePHFonts();
            };
            CapsDistributeEditor.OnDistributeFlagsChanged += ReplaceRuntimePHFonts;
        }