Search Unity

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:
    6,335
    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

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    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:
    6,335
    many many character sets