hi , i’ve been trying to change the color of each particle of a system particle of a system and this piece of code should do exactly that acording to the scripting reference ,
i know im getting the refereces to each particle correctly since ive managed to get a readout of their positon but i cant get their color to change it just stays white
should i be changing it on the renderer ?
using UnityEngine;
using System.Collections;
public class particlerelative : MonoBehaviour
{
public Transform emiter;
private Particle[] particles;
void Start()
{particles = emiter.particleEmitter.particles;}
void LateUpdate ()
{ for (int i=0; i < particles.Length; i++)
{particles*.color = Color.red;}*
particles=emiter.particleEmitter.particles ;
Eric5h5
2