天津23维预案
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
617 B

3 years ago
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class AllScoreDetailMessage : MonoBehaviour {
public ScoreDetailInfo score;
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void setScoreDetail(ScoreDetailInfo score)
{
this.score = score;
transform.Find("Remark").GetComponent<Text>().text = score.Remark;
transform.Find("CreateTime").GetComponent<Text>().text = score.ReplayTime;
transform.Find("Score").GetComponent<Text>().text = score.Score.ToString();
}
}