/// <summary>
        /// Burst with particle param list.
        /// </summary>
        private void MeshEmit()
        {
            CurlParticle particle = CurlParticleSystem.Instance.Get();

            particle.EmitWithMesh(_filter, _countPerParticle, _delay);
        }
Ejemplo n.º 2
0
 private void OnStopHandler(CurlParticle particle)
 {
     particle.OnStop -= OnStopHandler;
     Release(particle);
 }
 private void Start()
 {
     _particle             = CurlParticleSystem.Instance.Get();
     _particle.AutoRelease = false;
 }
Ejemplo n.º 4
0
 public void Release(CurlParticle particle)
 {
     _pool.Back(particle);
 }