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