public void RemoveRef(FGuiForm hotfixFGuiForm) { for (int i = 0; i < hotfixFGuiForm.FGuiDependencies.Length; i++) { RemoveRef(hotfixFGuiForm.FGuiDependencies[i]); } RemoveRef(hotfixFGuiForm.PackageName); }
public void AddPackage(FGuiForm hotfixFGuiForm) { //先加载依赖资源 for (int i = 0; i < hotfixFGuiForm.FGuiDependencies.Length; i++) { AddPackage(hotfixFGuiForm.FGuiDependencies[i]); } //再加载主资源 AddPackage(hotfixFGuiForm.PackageName); }
public static void CloseUIForm(this UIComponent uiComponent, FGuiForm fguiForm) { uiComponent.CloseUIForm(fguiForm.UIForm); }