Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

ParticleSystem.Emit

Switch to Manual
public function Emit(count: int): void;

Description

Emit count particles immediately.

public function Emit(position: Vector3, velocity: Vector3, size: float, lifetime: float, color: Color32): void;

Parameters

position The position of the particle.
velocity The velocity of the particle.
size The size of the particle.
lifetime The remaining lifetime of the particle.
color The color of the particle.

Description

Emit a single particle with given parameters.

public function Emit(particle: Particle): void;

Description

Emit a single particle.