Does anyone have any info on getting the ParticleAnimator ‘force’ property set via javascript?
I am having issues with Unity recognizing the component…
Does anyone have any info on getting the ParticleAnimator ‘force’ property set via javascript?
I am having issues with Unity recognizing the component…
Try this:
function Start ()
{
var particleAnimator = GetComponent (ParticleAnimator) as ParticleAnimator;
particleAnimator.force = new Vector3 (1, 10, 100);
}