19 lines
499 B
19 lines
499 B
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; |
|
} |
|
}
|
|
|