示例#1
0
 void OnTriggerEnter(Collider col)
 {
     if (col.GetComponent <Collider>().tag == "Player")
     {
         pickupManager.CollectMedkit();
         Destroy(this.gameObject);
     }
 }