Unity:使用数组管理多个Button

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_34691688/article/details/84454683

用数组管理多Button,如果有错误,你考虑一下吧for(i = 0;i<arr.lenght;i++)把i再封装一次,如int a = 0;a = i;btn【a】

猜你喜欢

转载自blog.csdn.net/qq_34691688/article/details/84454683