1.获得对象 btPlay = transform.Find ("btMenuPlay").GetComponent<Button> (); 2.添加事件, 个人习惯用代码 btPlay.onClick.AddListener(onPlay);