Dan Melton (danmelt)

0 answers · asked · Lesson: Deducting Enemy Health · Course: Fundamentals of FPS UI Design

How to apply damage to the dummy prefab?

The damage script only works for the instantiated dummy prefab from which the script was attached to the shoot script.  Is there a way for this functionality to be attached to the prefab so that all instantiated dummy objects will take damage?