Trouble setting particle system startRotation through c#

Hello, I am trying to set ParticleSystem.startRotation in c# script. Is this possible?

I am trying to create a particle that makes a trail behind a parent object, I have set the particle system to world coordinates because I don’t want the particles to follow the parent object, however setting the particle to world coordinates prevents the particle from rotating with the parent which is why I am trying to correct this with script.

This is what I am trying to change in script but I have been unsuccessful thus far, any help would be greatly appreciated.

I figured it out.

public class ParticleRotation : MonoBehaviour {

private float startRotation;

// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {
	this.particleSystem.startRotation =-80;
}

}