Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LanguageDirection

Indicates the directionality of the element's text. The value cascades to child elements.
Read time 1 minuteLast updated 13 days ago

Definition

public enum LanguageDirection

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.
Additional Resources: Language direction

Fields

Value

Description

InheritInherits the directionality from the nearest ancestor with a specified directionality.
LTRLeft to right language direction.
RTLRight to left language direction.