Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetTints(Color?, Color?)

Overrides the outline and/or shadow tint for this glyph. Pass null to leave a field at the element baseline ( unityTextOutlineColor / textShadow.color ).
Read time 1 minuteLast updated 12 days ago

Definition

public void SetTints(Color? outline = null, Color? shadow = null)

Parameters

outline


shadow

Remarks

Not additive: each call rebuilds from the element baseline, so pass both
outline
and
shadow
together if you need both. Only valid inside a TextElement.PostProcessTextVertices callback.