ライフタイムにおいてカラーアニメーションを行うための Color 配列
現時点では、この配列のインデックスを直接個別に修正することはできません。 配列全体を取得して修正し、Particle Animatior に割り当てなおす必要があります。
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Start() { ParticleAnimator particleAnimator = GetComponent<ParticleAnimator>(); Color[] modifiedColors = particleAnimator.colorAnimation; modifiedColors[2] = Color.yellow; particleAnimator.colorAnimation = modifiedColors; } }