Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void DestroyMissile()
- {
- trail.transform.SetParent(null);
- trail.Stop(true, ParticleSystemStopBehavior.StopEmitting);
- explosion.transform.SetParent(null);
- explosion.Play();
- Destroy(gameObject);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement