// Start is called before the first frame update void Start() { Instance = this; SetHealth(MaxHealth); bar.shieldBar.maxValue = MaxShield; bar.SetShieldBar(MaxShield / 2); }