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