void Start() { bossController = gameObject.GetComponentInParent <BossControllerScript>(); currentHealth = health; }
// Start is called before the first frame update void Start() { Player = GameObject.FindWithTag("Player"); boss_controller_script = GameObject.FindWithTag("BossController").GetComponent <BossControllerScript>(); }