using Assets.Scripts.Apis.Models; using System; using System.Collections; using System.Collections.Generic; using System.Text; using UnityEngine; using UnityEngine.UI; public class DownloadLog : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public void Initial(VersionModel version) { transform.Find("Version").GetComponent().text = version.Version; transform.Find("Content").GetComponent().text = version.Desc; } public void HideLine() { transform.Find("Image").gameObject.SetActive(false); } }