示例#1
0
 void OnTriggerStay(Collider other)
 {
     if (other.gameObject.tag == "Damage")
     {
         gameManager.ApplyDamage(10);
     }
 }