Unity Changes System System Tri Triing Layer via le script

ParticleSystem myParticleSystem;
myParticleSystem.GetComponent<ParticleSystemRenderer>().sortingOrder = 0;
Kaldrin