/// #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 _BagSourceOfPropsPanel; public static UIKey BagSourceOfPropsPanel => _BagSourceOfPropsPanel ?? (_BagSourceOfPropsPanel = new UIKey("Bag", "SourceOfPropsPanel", typeof(BagSourceOfPropsPanelView))); } public partial class BagSourceOfPropsPanelView : UIView { public static UILayer Layer => UILayer.High; protected override void AddController(IUIControllerGroup group) { group.Add(new BagSourceOfPropsPanelCtrl()); } protected override IUIViewModel CreateViewModel() { return new BagSourceOfPropsPanelVM(); } protected override void OnDispose() { } } }