Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question How to convert unicode text into <sprite name=""> format?

Discussion in 'UGUI & TextMesh Pro' started by Carter_Heiwa, Apr 11, 2024.

  1. Carter_Heiwa


    Jan 24, 2023
    I am currently using advancedinput2 and have input field allow emojis enabled. I can get the converted <sprite name=""> from the Content>Text object in TextMeshProUGUI.text. Simply setting the text to TextMeshProUGUI's text does not convert the unicode into <sprite name="">.

    Could it be some function in TMProTextRenderer from advancedinput? or can we call anything from tmp to convert unicode into <sprite name=""> format? Does anyone knows?