예제 #1
0
    private void SetRandomColor()
    {
        GererationColorSystem changColor =
            new GererationColorSystem(IocContainer.Instance.GameLevel.CurrentLevel.QuantityColors);

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

        return(color);
    }