Quantcast
Channel: Answers for "How to shoot prefab, and then on colliding destroy a gameobject?"
Browsing latest articles
Browse All 4 View Live

Answer by Hybris

Well, I will give you some tips to start. To begin it's not destroy.Gameobject it's Destroy(GameObject); You already know how to shoot right? If not you can use the shoot function I gave you in the...

View Article



Answer by generic cereal

Do you think you could post what this entire script would look like? Sorry I'm very new to scripting... are there any vars? How do you know if your GameObject is a transform?

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images