Hit System with Interfaces in Unity
Published in
7 min readMar 22, 2024
Have you ever wondered how first and third person shooter games handle their hit system? You know the kind I am talking about, where headshots will kill an opponent while a body or limb shot will take more than one hit. Then you get various animations that play depending on where the enemy was hit when they took damage or died.