TongSuanManager.cs 522 B

123456789101112131415161718192021222324
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. public class TongSuanManager :UpdateManager
  6. {
  7. public Text zhujict;
  8. public Text serverct;
  9. public Text devct;
  10. public override void updateData()
  11. {
  12. base.updateData();
  13. DataManager.Instance.GetTongSuan((data) => {
  14. zhujict.text = data.zhiji.ToString();
  15. serverct.text = data.serverct.ToString();
  16. devct.text = data.devct.ToString();
  17. });
  18. }
  19. }