private static void ReleasePackage(FWidget widget) { if (widget != null) { UIPackageManager.GetInstance().ReleasePackage(widget.package); } }
public void CreateUI() { if (string.IsNullOrEmpty(packageName)) { return; } UIPackageManager.GetInstance().AddPackage(packageName); _obj.packageName = packageName; _obj.componentName = componentName; _obj.CreateUI(); }