Пример #1
0
        public void RemoveRef(FGuiForm hotfixFGuiForm)
        {
            for (int i = 0; i < hotfixFGuiForm.FGuiDependencies.Length; i++)
            {
                RemoveRef(hotfixFGuiForm.FGuiDependencies[i]);
            }

            RemoveRef(hotfixFGuiForm.PackageName);
        }
Пример #2
0
        public void AddPackage(FGuiForm hotfixFGuiForm)
        {
            //先加载依赖资源
            for (int i = 0; i < hotfixFGuiForm.FGuiDependencies.Length; i++)
            {
                AddPackage(hotfixFGuiForm.FGuiDependencies[i]);
            }

            //再加载主资源
            AddPackage(hotfixFGuiForm.PackageName);
        }
Пример #3
0
 public static void CloseUIForm(this UIComponent uiComponent, FGuiForm fguiForm)
 {
     uiComponent.CloseUIForm(fguiForm.UIForm);
 }