I just have a question or two about adding a health component. In my project i have 2 AI companions that follow the player character. I created the variables for things like health, stamina, experience, etc. Each character has different stats. The problem that I am having is that if I create a single health component is it possible to keep the different stats I have for my characters or should I should I create child classes of the health component?
Also, how would I go about displaying the character’s health from the health component on to the UI. Would I do this as if I made the variables on the character itself?
I apologize if my questions are confusing.