1.添加Button
2.在总分支的上的Canvas上挂上脚本
3.不需要boxcollider,调整渲染层次,别被遮挡了
4.添加点击事件
m_Btn.onClick.AddListener(delegate () { OnBtn_Click(); });