URL: http://answers.unity3d.com/questions/219609/auto-destroying-particle-system.html
ここを見ると残りカウントが0になったらDestroyしていた。
C#で置き換えてさらに高速化した。
using UnityEngine; using System.Collections; public class ShurikenParticle : MonoBehaviour { ParticleSystem myParticleSystem; void Awake () { myParticleSystem = this.particleSystem; } // Update is called once per frame void Update () { if (myParticleSystem != null && myParticleSystem.particleCount == 0) { Debug.Log ("Zero"); } } }
しかしながら、Destroyせずに再開するときはどうするのだろうか?