// Start is called before the first frame update void Start() { bossAI = GetComponentInParent <Rat_Horde_AI>(); bossAnimator = GetComponent <Animator>(); biteHitbox = GetComponentInChildren <PolygonCollider2D>(); biteHitbox.enabled = false; cooldown = bossAI.getBiteCooldown(); }
// Start is called before the first frame update void Start() { bossAI = GetComponent <Rat_Horde_AI>(); }