// Update is called once per frame void Update() { maxHealth = PlayerShop.GetHealth(); }
// Use this for initialization void Start() { maxHealth = PlayerShop.GetHealth(); currentHealth = maxHealth; }