I’m new to Unity, I’ve been learning for about a month, and I’m making a platformer from tutorials from YouTube. However, I can’t seem to find tutorials, as the subject implies, if the enemy collides with the player, you lose health from the health bar.
I’m learning Unity for my coursework, and by learning, I mean looking up tutorials from YouTube.
I’ve already got a Health Bar, a player with scripts for platforming and that jazz, platforms, and a enemy. The Health Bar is from:
however I’ve not done the coding because I don’t think they’ve gotten a player or an enemy to test it out. I’ve got the platformer scripts from Brackeyes and the enemy AI too.
Any help would be greatly appreciated.