Question by
briangenaro · Sep 26, 2019 at 02:53 AM ·
inputtriggerdestroyarea-damage
Input to Destroy All objects in a Trigger
Hello, I want to put a Sphere area in my character who is a trigger, and when I press the Spacebar all objects that this area have contact would be destroyed. I thought in put a OnTriggerEnter, but I don't know how will be the relation of the Function to the Input. Can anyone help me?
I'm brazilian and bad at english, sorry
Comment