I have an object called SwitchColorChanger which has a child plane component called PlaneLight. PlaneLight has a Particles/Alpha Blended Material which has a texture map on it. I want to either fade the rgb values up & down over time or fade the aplha value up & down over time to get a slowly pulsing glow effect. This will be pulsing for the lifetime of the object so most likely I need to hold some kind of reference for efficiency's sake. I'm having difficulty with this. I think I need to use GetComponentInChildren but I'm not sure how. Any help would be appreciated.
EDIT - for some reason clicking on comment isn't working at the moment so I'm posting my response to Jessy's reply here, with apologies for the unorthodox way it's been done:
'Thank you Jessy! That's much appreciated.
In reference to your query (for future people which come across this) The parent object is called SwitchColorChanger and has a script of the same name attached where this code goes. It has a child game object called PlaneLight which has a plane, a mesh renderer and a material called m_ColorChangerlight, which is a shader of type Particles/AlphaBlended. It was that material that I wanted to affect over time.
Now all I have to do is figure the most efficient way to increase & decrease the Alpha property over time and I'm sorted. And grateful. Thanks again Jessy.'