📅  最后修改于: 2022-03-11 14:49:17.851000             🧑  作者: Mango
void Update() {
if (Input.GetMouseButtonDown(0)) {
gameObject.active = true;
}
if (Input.GetMouseButtonDown(1)) {
gameObject.active = false;
}
}