文档

Unity Engine

Unity Engine

languageDirection

Indicates the directionality of the element's text. The value will propagate to the element's children.
阅读时间1 分钟最后更新于 1 个月前

Definition

public LanguageDirection languageDirection { get; set; }

Remarks

Setting
languageDirection
to
RTL
can only get the basic RTL support like text reversal. To get more comprehensive RTL support, such as line breaking, word wrapping, or text shaping, you must enable Advance Text Generator.