Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Garbage when changing outlineColor

$
0
0
I seem to be getting a little bit of garbage when I modify outlineColor.

I am 'pulsating' some of my text, and in update() I'm lerping .color, .fontSize and .outlineColor like this:


TheText.fontSize = Mathf.SmoothStep(fromSize, toSize, t);
TheText.color = Color32.Lerp(fromTextColor, toTextColor, t);
TheText.outlineColor = Color32.Lerp(fromTextColor, toTextColor, t);


The size and color don't generate any garbage, but the outlineColor does seem to,...

Garbage when changing outlineColor

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>