Exemplo n.º 1
0
    private void SetRandomColor()
    {
        GererationColorSystem changColor =
            new GererationColorSystem(IocContainer.Instance.GameLevel.CurrentLevel.QuantityColors);

        BoxColor = changColor.RandomColor;
        _boxBackgroundColor.material.color = BoxColor;
        GC.SuppressFinalize(changColor);
    }
Exemplo n.º 2
0
    private Color SetColor(int numberContainer)
    {
        var color = new GererationColorSystem(_quantityColors).ListColors[numberContainer];

        return(color);
    }