Ejemplo n.º 1
0
        public void RemoveRef(FGuiForm hotfixFGuiForm)
        {
            for (int i = 0; i < hotfixFGuiForm.FGuiDependencies.Length; i++)
            {
                RemoveRef(hotfixFGuiForm.FGuiDependencies[i]);
            }

            RemoveRef(hotfixFGuiForm.PackageName);
        }
Ejemplo n.º 2
0
        public void AddPackage(FGuiForm hotfixFGuiForm)
        {
            //先加载依赖资源
            for (int i = 0; i < hotfixFGuiForm.FGuiDependencies.Length; i++)
            {
                AddPackage(hotfixFGuiForm.FGuiDependencies[i]);
            }

            //再加载主资源
            AddPackage(hotfixFGuiForm.PackageName);
        }
Ejemplo n.º 3
0
 public static void CloseUIForm(this UIComponent uiComponent, FGuiForm fguiForm)
 {
     uiComponent.CloseUIForm(fguiForm.UIForm);
 }