Exemplo n.º 1
0
    public void UpdateCompositeGradient()
    {
        if (m_gradientTexture == null)
        {
            return;
        }

        TCHelper.TextureFromGradient(compositeGradient, m_gradientTexture, tint, 0.0f);
    }
Exemplo n.º 2
0
 /// <summary>
 /// Update the colour over lifetime texture. Should be called whenever changing the colour over lifetime gradient
 /// </summary>
 public void UpdateColourOverLifetime()
 {
     TCHelper.TextureFromGradient(ColourOverLifetime, colourOverLifetimeTexture, TintColor);
 }