using UnityEngine.UI;
public class Animation : MonoBehaviour
{
public Button startBtn;
// Start is called before the first frame update
void Start()
{
Text text = startBtn.transform.Find("Text").GetComponent<Text>();
text.text = "暂停";
}
// Update is called once per frame
void Update()
{
}
}
网友评论