Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

Enemies taking damage - help please

$
0
0
Hi, could anyone help me with my enemies taking damage? I have this script on my player if (hit.collider.tag == "Enemy") { hit.collider.SendMessageUpwards("ApplyDamage", damage, SendMessageOptions.DontRequireReceiver); What script would I need to put on my enemy for them to take damage? I'm pretty new to unity and i'm not sure how to make them take damage. Thank you <3

Viewing all articles
Browse latest Browse all 1488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>