TemplateNested.cs 596 B

1234567891011121314151617181920212223
  1. /// #pkgName FGUI包名
  2. /// #panelName UIPanel名字
  3. /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
  4. /// 该脚本由模板创建
  5. /// created by cb 2024
  6. using XGame.Framework.UI;
  7. namespace FL.FGUI
  8. {
  9. public static partial class UINestedKeys
  10. {
  11. private static UIKey _<#UIName>;
  12. public static UIKey <#UIName> => _<#UIName> ?? (_<#UIName> = new UIKey("<#pkgName>", "<#panelName>", typeof(<#UIName>View)));
  13. }
  14. public partial class <#UIName>View : NestedView<<#UIName>Ctrl, <#UIName>VM>
  15. {
  16. protected override void OnDispose()
  17. {
  18. }
  19. }
  20. }