// Update is called once per frame void Update() { if (!dead & aiClass.useBow & !mouseOnUI) { HoldBow(); ShootArrow(); } if (hp <= 0) { dead = true; playerInteract.GetOff(); animator.SetBool("Running", false); down(); } DontAttack(); HPBar(); }
// Update is called once per frame void Update() { if (!dead & aiClass.useBow & !mouseOnUI) { HoldBow(); ShootArrow(); } if (hp <= 0) { dead = true; playerInteract.GetOff(); animator.SetBool("Running", false); down(); } DontAttack(); HPBar(); }