기술 자료

Unity Engine

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 ).
읽는 시간 1분최근 업데이트: 한 달 전

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.