using UnityEngine; public class Vitals : MonoBehaviour { [SerializeField] private float initHealth = 100; public float Health { get; set;} // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { Health = initHealth; } }