GaoJingItem.cs 351 B

12345678910111213141516171819
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. using static DeMaDataManager;
  6. public class GaoJingItem : MonoBehaviour
  7. {
  8. public Text tname;
  9. public Text ttime;
  10. public Text tdev;
  11. public void init(baojing b)
  12. {
  13. tname.text = b.name;
  14. ttime.text = b.time;
  15. tdev.text = b.dev;
  16. }
  17. }