public void Setup(GameObject particle, Transform startingPoint, ParticleFlowManager particleFlowManager)
    {
        _particle            = particle;
        _startingPoint       = startingPoint;
        _particleFlowManager = particleFlowManager;

        StartCoroutine(spawnParticleSlowly());
    }
예제 #2
0
    public void Setup(GameObject startingPoint, GameObject endingPoint, ParticleFlowManager particleFlowManager, int particleHeight)
    {
        _startingPoint       = startingPoint;
        _endingPoint         = endingPoint;
        _particleFlowManager = particleFlowManager;
        _particleHeight      = particleHeight;

        StartCoroutine(AdjustPositionSlowly());
    }