public void Setup(GameObject particle, Transform startingPoint, ParticleFlowManager particleFlowManager) { _particle = particle; _startingPoint = startingPoint; _particleFlowManager = particleFlowManager; StartCoroutine(spawnParticleSlowly()); }
public void Setup(GameObject startingPoint, GameObject endingPoint, ParticleFlowManager particleFlowManager, int particleHeight) { _startingPoint = startingPoint; _endingPoint = endingPoint; _particleFlowManager = particleFlowManager; _particleHeight = particleHeight; StartCoroutine(AdjustPositionSlowly()); }