LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

ParticleSystem.noise

Switch to Manual

Description

Access the particle system noise module.

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; } }