Example #1
0
    public void ChangeLiquidColor(ItemData itemdata)
    {
        Color localColor = m_image.color;
        Color itemColor  = ColorCollection.HexToColor(itemdata.itemColor);
        Color newColor   = ColorCollection.ColorMix(localColor, itemColor);

        m_image.color = newColor;
    }