20 lines
499 B
20 lines
499 B
5 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.UI;
|
||
|
|
||
|
public class ErrorInfoItem : MonoBehaviour
|
||
|
{
|
||
|
public Text TimeText;
|
||
|
public Text RoleText;
|
||
|
//private Text EventText;
|
||
|
public Text DescribeText;
|
||
|
// Start is called before the first frame update
|
||
|
public void SetValue(ReportErroeSyncData data)
|
||
|
{
|
||
|
TimeText.text = data.Time;
|
||
|
RoleText.text = data.errorset;
|
||
|
DescribeText.text = data.describe;
|
||
|
}
|
||
|
}
|