C# Unity component for managing health and damage.