using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TongSuanManager :UpdateManager { public Text zhujict; public Text serverct; public Text devct; public override void updateData() { base.updateData(); DataManager.Instance.GetTongSuan((data) => { zhujict.text = data.zhiji.ToString(); serverct.text = data.serverct.ToString(); devct.text = data.devct.ToString(); }); } }