/// #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 _BattlePveVictoryPanel; public static UIKey BattlePveVictoryPanel => _BattlePveVictoryPanel ?? (_BattlePveVictoryPanel = new UIKey("Battle", "PveVictoryPanel", typeof(BattlePveVictoryPanelView))); } public partial class BattlePveVictoryPanelView : UIView { public static UILayer Layer => UILayer.MapUI; protected override void AddController(IUIControllerGroup group) { group.Add(new BattlePveVictoryPanelCtrl()); } protected override IUIViewModel CreateViewModel() { return new BattlePveVictoryPanelVM(); } protected override void OnDispose() { } } }