/// #pkgName FGUI包名 /// #panelName UIPanel名字 /// #UIName = $"{#pkgName}{#panelName}" UIKey名字 /// 该脚本由模板创建 /// created by cb 2024 using XGame.Framework.UI; namespace FL.FGUI { public static partial class UIKeys { private static UIKey _PartnerSbUpPanel; public static UIKey PartnerSbUpPanel => _PartnerSbUpPanel ?? (_PartnerSbUpPanel = new UIKey("Partner", "SbUpPanel", typeof(PartnerSbUpPanelView))); } public partial class PartnerSbUpPanelView : UIView { protected override void AddController(IUIControllerGroup group) { group.Add(new PartnerSbUpPanelCtrl()); } protected override IUIViewModel CreateViewModel() { return new PartnerSbUpPanelVM(); } protected override void OnDispose() { } } }