Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug \n \r don't work in ui text field

Discussion in 'UGUI & TextMesh Pro' started by laurentlavigne, Oct 4, 2021.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,795
    upload_2021-10-4_11-3-18.png
    not good when doing localizing
    what switch is needed? (richtext doesn't work)
     
    Last edited: Oct 4, 2021
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,582
    UI Text doesn't support escape sequences in the text input box.

    Special parsing of those escape sequences / control characters as well as support for UTF16 and UTF32 is specific to TMP.

    Any reason you are using UI Text instead of TMP?
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,795
    many many character sets