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.
33 lines
865 B
33 lines
865 B
using UnityEngine; |
|
using System.Collections.Generic; |
|
using System; |
|
using System.Xml.Serialization; |
|
using AX.TrackRecord; |
|
using System.Collections; |
|
using AX.MessageSystem; |
|
using UnityEngine.UI; |
|
public class ZiDongPingPanChild : MonoBehaviour { |
|
|
|
[HideInInspector] |
|
public InputField Fen;//分数 |
|
[HideInInspector] |
|
public Text Name;//名字 |
|
private Button Btn; |
|
void Awake () |
|
{ |
|
Fen = this.transform.Find("Fen").GetComponent<InputField>(); |
|
Btn = this.transform.Find("show").GetComponent<Button>(); |
|
Name = this.transform.Find("Name").GetComponent<Text>(); |
|
Btn.onClick.AddListener(Show); |
|
} |
|
[HideInInspector] |
|
public string intro;//详情 |
|
public void Show() |
|
{ |
|
ZiDongPingPan.Instance.ShowText(intro); |
|
} |
|
public void GetMessage(string Intro) |
|
{ |
|
intro = Intro; |
|
} |
|
}
|
|
|