/// #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 _GmToolSendMsgPanel; public static UIKey GmToolSendMsgPanel => _GmToolSendMsgPanel ?? (_GmToolSendMsgPanel = new UIKey("GmTool", "SendMsgPanel", typeof(GmToolSendMsgPanelView))); } public partial class GmToolSendMsgPanelView : UIView { public static UILayer Layer => UILayer.Popup; protected override void AddController(IUIControllerGroup group) { group.Add(new GmToolSendMsgPanelCtrl()); } protected override IUIViewModel CreateViewModel() { return new GmToolSendMsgPanelVM(); } protected override void OnDispose() { } } }