1.文字的修改
GetComponent<Text>().text = "cmd";
2.按键的生成
void Start()
{
GetComponent<Button>().onClick.AddListener(() =>
{
Debug.Log("press");
});
}
01.文字、按键
猜你喜欢
转载自blog.csdn.net/weixin_33787529/article/details/87132019
今日推荐
周排行