Unity C#On实例化gameObject Leap Motion

时间:2015-10-27 09:21:50

标签: c# unity3d

有一个小问题......我在粒子系统上进行了爆炸并希望将其放入游戏中的对象预制(克隆)之后,一旦与我的HandController碰撞" Leap Motion&# 34;它将摧毁那个游戏对象。如何使用Instantiate实现编码?

1 个答案:

答案 0 :(得分:0)

你需要在实例化爆炸的同时销毁游戏对象,太空射击教程涵盖了这个确切的情况,看看它

https://unity3d.com/learn/tutorials/projects/space-shooter-tutorial

相关问题