In this video we can see how to use tag for player and put in the code. Could we put tag for enemy instead of creation of class CombatTarget?
If yes, please are you able to explain why we used CombatTarget class instead of tag? For me it looks less complicated and less expensive to use tags instead of using class in this situation.