0
votes

having a minor problem... I'm doing an Explosion on the particle System and want to drop it in the game Object Prefab(Clone) after that once is collides with my HandController "Leap Motion" and it will be destroy that game Object. How do I implement the coding by using Instantiate?

1

1 Answers

0
votes

you'll need to destroy the gameobject the same time as instantiating the explosion, the space shooter tutorial covers this exact situation, check it out

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