We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58a4c6 commit 60ac5e8Copy full SHA for 60ac5e8
Assets/Scripts/UITk/MainView.cs
@@ -431,6 +431,12 @@ void SetupUI()
431
// Trigger the bound strings to update.
432
m_PlayerSettings.Notify("boldTextEnabledText");
433
m_PlayerSettings.Notify("closedCaptionsEnabledText");
434
+
435
+ // Update text direction
436
+ if (loc.Identifier.CultureInfo.TextInfo.IsRightToLeft)
437
+ root.languageDirection = LanguageDirection.RTL;
438
+ else
439
+ root.languageDirection = LanguageDirection.LTR;
440
};
441
442
ShowSplash();
0 commit comments