PlayerLvListItemView.ListItem.cs 496 B

1234567891011121314151617181920
  1. /// #pkgName FGUI包名
  2. /// #panelName UIPanel名字
  3. /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
  4. /// 该脚本由模板创建
  5. /// created by cb 2024
  6. using FairyGUI;
  7. namespace FL.FGUI
  8. {
  9. public partial class PlayerLvListItemView : IGListItemHandle
  10. {
  11. public int ItemIndex { get; private set; }
  12. void IGListItemHandle.OnRefresh(int index, object data)
  13. {
  14. ItemIndex = index;
  15. Ctrl.OnRefresh(index, (JobLvParam)data);
  16. }
  17. }
  18. }