Find Particle System for use in C# code

So, this is my code for finding it…

ps = gameObject.GetComponent<ParticleSystem>();

let’s say I have a particle system named “Left”… so how do I find it in that code? GetComponent doesn’t let me give a name for it or anything, like how does this work? I wanna be able to do

ps.startColor = something;

to the “Left” particle system. How do I do this? Obviously GameObject.find won’t work since it’s uh… a particle system. (if it matters it’s a parent of a gameobject named blue_falcon)

Try this

public GameObject leftParticleGO;
YourScriptName ps;

void Start() {
    ps = leftParticleGO.GetComponent<YourScriptName>();
}

void Func() {
    ps.startColor = something;
}

leftParticleGO - is GO with particle system component