void Start() { currentHP = maxHP; healthBar = GetComponentInChildren <SimpleHealthBar>(); healthBar.SetupBar(maxHP); }