using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class JianKongPTManager : UpdateManager { public Text shijianct; public Text zhixingct; public Text gaojingct; public override void updateData() { base.updateData(); DataManager.Instance.GetJianKongPt((data) => { shijianct.text = data.shijianct.ToString(); zhixingct.text = data.zhixingct.ToString(); gaojingct.text = data.gaojingct.ToString() ; }); } }