🌈 搜索
📅  最后修改于: 2022-03-11 14:48:52.601000             🧑  作者: Mango
GameObject Button = GameObject.Find("Button"); button button = Button.GetComponent(); // ^ Name of script ^ Also name of script button.Pressed = true