1234567891011121314151617181920 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- using static Manager;
- public class JiLongItem : MonoBehaviour
- {
- public Text jlname;
- public List<JiGuiItem> list;
- public void updateData(ServerJiLongData data)
- {
- jlname.text = data.name;
- for (int i = 0; i < data.jiguilist.Count; i++)
- {
- list[i].updateData(data.jiguilist[i]);
- }
- }
- }
|