Particle class not defined...

HI,
I have a little problem with controlling particleSystem by scripts. I tried all tutorials on how to enable and disable particles and every time I try to call a method Start() or Stop() from the ParticleSystem object, there is no method.
6954050--818390--upload_2021-3-19_23-55-54.png

I’m not sure that something is wrong with my compiler or I’m writing the wrong code. Definition of ParticleSystem is empty.
6954050--818405--upload_2021-3-20_0-2-17.png

Did you make a class called ParticleSystem? Delete that file – it’s hiding the actual ParticleSystem class from Unity.

2 Likes

It’s working now, thank u for help :slight_smile: