Unity Prefab(预制体)一次性循环10个会得到同样的
摘要:
IEnumerator Test1() { for(int i = 0;i < 5;i++) { GameObject gb = (GameObject)Resources.Load("Prefabs/Image"); gb.name = i.ToString() + "_cui"; allMove 阅读全文
posted @ 2023-02-27 16:22 zqiang0803 阅读(86) 评论(0) 推荐(0) 编辑