Access the particle system noise module.
no example available in JavaScript
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Start() { ParticleSystem ps = GetComponent<ParticleSystem>(); var no = ps.noise; no.enabled = true; no.strength = 1.0f; no.quality = ParticleSystemNoiseQuality.High; } }
Did you find this page useful? Please give it a rating: