// Use this for initialization private void Start() { _player = GameObject.FindGameObjectWithTag("Player").GetComponent <Combateer>(); _health = _player.Health; UpdateHearts(); }
// Use this for initialization private void Start() { _player = GameObject.FindGameObjectWithTag("Player").GetComponent <Combateer>(); _controller = GetComponent <TopDownController>(); }