languageDirection
Indicates the directionality of the element's text. The value will propagate to the element's children.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public LanguageDirection languageDirection { get; set; }
Remarks
Setting to 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.
languageDirectionRTL