33 lines
701 B
C#
33 lines
701 B
C#
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>().text = version.Version;
|
|
transform.Find("Content").GetComponent<Text>().text = version.Desc;
|
|
}
|
|
|
|
public void HideLine()
|
|
{
|
|
transform.Find("Image").gameObject.SetActive(false);
|
|
}
|
|
}
|