ZongLanManager.cs 445 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class ZongLanManager : UpdateManager
  5. {
  6. public List<DianLiItem> dlitems;
  7. public override void updateData()
  8. {
  9. base.updateData();
  10. DataManager.Instance.GetWSD((data) => {
  11. for (int i = 0; i < dlitems.Count; i++)
  12. {
  13. dlitems[i].updateData(data.serverList[i],i);
  14. }
  15. });
  16. }
  17. }