Beispiel #1
0
    // ------------------------------------------------------------
    // EFFECTS SCORE

    public virtual void PlayEffectsScore()
    {
        if (FPSDisplay.isUnder25FPS)
        {
            return;
        }

        Color colorTo = GameCustomController.GetRandomizedColorFromContextEffects();

        if (containerEffectsScore != null)
        {
            containerEffectsScore.Show();
            containerEffectsScore.SetParticleSystemStartColor(colorTo, true);
            containerEffectsScore.PlayParticleSystem(true);
        }
    }