ParticleEmitter.ClearParticles 清除所有粒子

function ClearParticles () : void

Description描述

Removes all particles from the particle system.

从粒子系统中移除所有粒子。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		particleEmitter.ClearParticles();
	}
}
particleEmitter.ClearParticles();
Page last updated: 2011-1-23