Scripting a Mesh Particle Emitter?

I would like to set the mesh in a Mesh Particle Emitter via a script, but I can’t access the ParticleEmitter component as a Mesh Particle Emitter because it appears it is not an actual component type known by the scripting engine. ( The same is true of the Ellipsoid Particle Emitter. )

Am I missing something, or is there a way around this?

Thanks!

I think that plain old “ParticleEmitter” is used to refer to both.

More importantly, only ParticleEmitter (the superclass) is exposed to scripting. Any variables specific to its subclasses are only editable in the Inspector.