Ejemplo n.º 1
0
    public virtual Color getRandomizedColorFromContextEffects()
    {
        // Randomize or get customized colors

        Color colorTo = UIColors.colorWhite;

        int randomColor = UnityEngine.Random.Range(0, 4);

        if (randomColor < 1)
        {
            colorTo = GameCustomController.GetRandomizedColorFromContextCustomized();
        }
        else
        {
            colorTo = GameCustomController.GetRandomizedColorFromContextUI();
        }

        return(colorTo);
    }