In this video i have talked about killing enemies in unity for beginners,
I have created a attack point and attack radius to collide with what we hit
also assigned the enemy as a enemy layer for detecting which layer to attack, made take damage function in enemy script for taking damage from player and calling the function from player script.
if you have any questions to ask or anything like that then you can comment below and also if you enjoyed this video then give a thumbs up and share it with your friends who are willing to learn game development or unity in general .
and lastly thanks for watching :)
#unity #unitytutorial #learnunity #learnunity #learncoding #learncsharp #unitygamedevelopment #unity2d #unitygameengine #learngamedevelopment #gamedeveloper #gamedevelopmenttutorial #gamedevelopment #unitygamedev