Unity Button AddListener() 来添加click事件

button的组件里面有一个方法OnClick. AddListener这个方法来监听点击事件

猜你喜欢

转载自blog.csdn.net/qq_14812585/article/details/85949523