How to set the object value ?

I have a gameobject with the following structure:

Menu1Text >
Sparkle Rising >
SparkleParticlesSecondary
SparkleParticles

Menu1Text = Gameobject with mesh
Sparkle Rising = Empty Gameobject
SparkleParticles & SparkleParticlesSecondary = GameObjects with Ellipsoid Particle Emitter

I want to active and deactivate the particle emit through the gamecontroler script.

I have tried this:

public GameObject M1T;
void Start ()
{
M1T.particleSystem.particleEmitter.emit = false;
}

I get a ’
MissingComponentException: There is no ‘ParticleSystem’ attached to the “Menu1Text” game object, but a script is trying to access it. You probably need to add a ParticleSystem to the game object “Menu1Text”.’ error !

The particleSystem property does nothing more than calling GetComponent();
This means you are trying to get a component which the current object acctually doesnt have, instead its childs, namely SparkleParticles & SparkleParticlesSecondary do have it attached.
Therefore, either specify those in your script like you did with M1T or call GetComponentsInChildren();

It works now !

Thanks !