public void UpdateCompositeGradient() { if (m_gradientTexture == null) { return; } TCHelper.TextureFromGradient(compositeGradient, m_gradientTexture, tint, 0.0f); }
/// <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); }