If the script that instantiates the grenade is attached to the player, you could something along the lines of:
GameObject Grenade = (GameObject)Instantiate(GrenadePrefab,transform.position,transform.rotation);
Physics.IgnoreCollision(this.collider,Grenade.collider);
↧