private void Awake() { health = GameObject.FindWithTag("Player").GetComponent <Health>(); }
private void Awake() { health = GameObject.Find("Player").GetComponent <Health>(); fighter = GameObject.Find("Player").GetComponent <Fighter>(); }
private void Awake() { health = GameObject.FindWithTag("Player").GetComponent <Health>(); }
private void Awake() { health = GameObject.Find("Player").GetComponent <Health>(); fighter = GameObject.Find("Player").GetComponent <Fighter>(); }