- Home /
Question by
cenkbz3589 · May 17, 2021 at 01:48 PM ·
scripting problemscript.unity 2dhealth
Enemy health problem unity2D
Well i'm making 2D game and as you can see in the picture, i have an enemy and trigger. trigger have health system. if health less then 0 i want to make my enemy destroyed. but it doesn't work maybe it was a simple question but i dont really know i'm new at scripting
Enemy Script= Trigger Script
die.png
(68.8 kB)
trigger.png
(84.5 kB)
Comment