Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


languageDirection

Indicates the directionality of the element's text. The value will propagate to the element's children.
Read time 1 minuteLast updated 4 days ago

Definition

[CreateProperty]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.