void Start() { _bc = GetComponentInParent <TestBaseCharacter>(); _gc = FindObjectOfType <GuiController>(); _gc.StatBarUpdates += SetHealthBar; }