Passing mesh from Parent to Child

Hey guys,

Is it possible to pass a mesh from a parent game object to a child game object?

scenario:

I have a prefabs that are just empty game object with predefined mesh particle emitter/ render / animator. The problem is when i add this game object to an object it does not automatically pass the mesh of the parent. Is there a way to do this in a script?

Everything I can think of that uses a mesh, has that mesh assignable via script. Check the manual for whatever component, but it’s going to be whateverComponent.mesh or whateverComponent.sharedMesh.