12345678910111213141516171819202122232425262728293031323334 |
- /// #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 _TreasureChestUpgradePanel;
- public static UIKey TreasureChestUpgradePanel => _TreasureChestUpgradePanel ?? (_TreasureChestUpgradePanel = new UIKey("TreasureChest", "UpgradePanel", typeof(TreasureChestUpgradePanelView)));
- }
- public partial class TreasureChestUpgradePanelView : UIView
- {
- public static UILayer Layer => UILayer.Popup;
- protected override void AddController(IUIControllerGroup group)
- {
- group.Add(new TreasureChestUpgradePanelCtrl());
- }
- protected override IUIViewModel CreateViewModel()
- {
- return new TreasureChestUpgradePanelVM();
- }
- protected override void OnDispose()
- {
- }
- }
- }
|