TemplateVM.cs 578 B

12345678910111213141516171819202122232425
  1. /// #pkgName FGUI包名
  2. /// #panelName UIPanel名字
  3. /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
  4. /// 该脚本由模板创建
  5. /// created by cb 2024
  6. using FairyGUI;
  7. using XGame.Framework.UI;
  8. namespace FL.FGUI
  9. {
  10. /// <summary>
  11. /// ViewModel自定义属性,额外的组件绑定
  12. /// </summary>
  13. /// <typeparam name=""></typeparam>
  14. public partial class <#UIName>VM
  15. {
  16. /// <summary>
  17. /// 初始化
  18. /// </summary>
  19. protected override void CustomBind(GComponent panel, IUIViewAdapter adapter)
  20. {
  21. }
  22. }
  23. }