摘要: this.GetComponent<Button>().enabled = false;//禁用按钮 如果需要将按钮变灰,则需要另外处理 this.GetComponent<Button>().interactable = false;//禁用和变灰功能同时有效另外如果要达到很好的置灰功能需要sha 阅读全文
posted @ 2018-06-01 17:06 威少小二orz 阅读(6046) 评论(0) 推荐(0) 编辑