12345678910111213141516171819202122232425 |
- using System.Collections;
- using System.Collections.Generic;
- using LitJson;
- using UnityEngine;
- using UnityEngine.UI;
- public class RiZhiItem : MonoBehaviour
- {
- public Text date;
- public Text level;
- public Text account;
- public Text type;
- public Text result;
- public Text desc;
- public void init(JsonData data)
- {
- date.text = data["date"].ToString();
- level.text = data["level"].ToString();
- account.text = data["account"].ToString();
- type.text = data["type"].ToString();
- result.text = data["result"].ToString();
- desc.text = data["desc"].ToString();
- }
- }
|