摘要: box = GameObject.Instantiate(Resources.Load("prefab/plane123")) as GameObject; /* 前提是一定要先在Assets中新建一个Resources文件夹,把预制体放到里面,代码才能 访问到*/ 阅读全文