Unity筆記:為UI.Text字體加上邊框





原本以為沒有的功能,
其實只要加個組件就有了,
這對浮動的UI文字很有幫助,
不如說沒有邊框的話很多時候會被地圖之類的東西給模糊掉,
有邊框的話就很清楚了。

Outline

The Outline component adds a simple outline effect to graphic components such as Text or Image. It must be on the same GameObject as the graphic component.
Text with no effect. Text with Outline effect.

Properties

Property:Function:
Effect ColorThe color of the outline.
Effect DistanceThe distance of the outline effect horizontally and vertically.
Use Graphic AlphaMultiplies the color of the graphic onto the color of the effect.

沒有留言:

張貼留言

你發現了這篇網誌的留言板,在這留點什麼吧(っ´ω`c)