unity3D-发射子弹的销毁

  新建脚本,在start函数里面,添加销毁代码Destroy(gameObject,2.0f);

然后绑定到预制物体墙上面

posted @ 2015-10-27 21:31  程序员学习  阅读(2201)  评论(0)    收藏  举报