Exemplo n.º 1
0
    void ClearDotsAt(List <Dot> dots)
    {
        foreach (Dot dot in dots)
        {
            if (dot != null)
            {
                ClearDotsAt(dot.xIndex, dot.yIndex);
                //add value score
                dot.ScorePoint();

                if (m_particleManager != null)
                {
                    m_particleManager.ClearDotFxAt(dot.xIndex, dot.yIndex);
                }
            }
        }
        //play sfx
        sfx.GetSFX(2);
    }