Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Removed in version 2018.3.14

Component.particleSystem

Obsolete public Component particleSystem;

Description

The ParticleSystem attached to this GameObject. (Null if there is none attached).

using UnityEngine;

public class Example : MonoBehaviour { void Start() { GetComponent<ParticleSystem>().Emit(5); } }

Did you find this page useful? Please give it a rating: