/// <summary> /// Burst with particle param list. /// </summary> private void MeshEmit() { CurlParticle particle = CurlParticleSystem.Instance.Get(); particle.EmitWithMesh(_filter, _countPerParticle, _delay); }
private void OnStopHandler(CurlParticle particle) { particle.OnStop -= OnStopHandler; Release(particle); }
private void Start() { _particle = CurlParticleSystem.Instance.Get(); _particle.AutoRelease = false; }
public void Release(CurlParticle particle) { _pool.Back(particle); }