1234567891011121314151617181920212223242526272829303132333435 |
- /// #pkgName FGUI包名
- /// #panelName UIPanel名字
- /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
- /// 该脚本由模板创建
- /// created by cb 2024
- using FL.FGUIP;
- using XGame.Framework.UI;
- namespace FL.FGUI
- {
- public static partial class UIKeys
- {
- private static UIKey _PlayerJobCareerPreviewPanel;
- public static UIKey PlayerJobCareerPreviewPanel => _PlayerJobCareerPreviewPanel ?? (_PlayerJobCareerPreviewPanel = new UIKey("Player", "JobCareerPreviewPanel", typeof(PlayerJobCareerPreviewPanelView)));
- }
- public partial class PlayerJobCareerPreviewPanelView : UIView
- {
- public static UILayer Layer => UILayer.Middle;
- protected override void AddController(IUIControllerGroup group)
- {
- group.Add(new PlayerJobCareerPreviewPanelCtrl());
- }
- protected override IUIViewModel CreateViewModel()
- {
- return new PlayerJobCareerPreviewPanelVM();
- }
- protected override void OnDispose()
- {
- }
- }
- }
|