The left-Hand side of the assignment must be a variable, a property or an indexer?

im using the following code:

Camera.mainCamera.GetComponent().Emit = false;

why would i get this error?

Presumably you meant Camera.main, and “Emit” is a function, not a variable. “emit” is the variable.

–Eric

i figured it out. on another note though,

is there a way to change the speed in which a Particle System goes off. i noticed that there is like a 5 scond pause between bursts? i need it to be immediate.