//禁用this.GetComponent<Button>().enabled= false;//禁用与变灰this.GetComponent<Button>().interactable = false;