Component.particleSystem

var particleSystem : ParticleSystem

Description

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

JavaScript
particleSystem.Emit(5);

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
particleSystem.Emit(5);
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
particleSystem.Emit(5)