How to make enemy follow and attack me?

Hi, I am making a game that takes place in a abandoned school full of undead skeletons. Does anybody know how I can make these skeletons follow me when they see me and then attack me? I wasn’t sure where to post this so i just post this here.:face_with_spiral_eyes:
Thanks in advance:wink:

I have tutorials on my channel covering that. The basics would be create a GameObject variable that will be your target and then moving the enemies position towards the players position. Then if the enemy gets close to the player call a Sphere Collider that will be able to sendMessage to the player to activate a function that would deal damage to the players hp.

thanks. I will check these tutorials