void OnTriggerExit(Collider other) //speeds up player with speed up function in playerhealth { if (other.tag == "Player") { playerInRange = false; thePlayerHealth.speedUp(reducePlayerSpeed); } }
void OnTriggerExit(Collider other) //speeds up player with speed up function in playerhealth { if (other.tag == "Player") { playerInRange = false; thePlayerHealth.speedUp(reducePlayerSpeed); } }