How to Highlight, Copy Paste Text in Unity with TextMesh Pro

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 17

  • @ChristinaCreatesGames
    @ChristinaCreatesGames  10 місяців тому

    Find the scripts on github here: github.com/Maraakis/ChristinaCreatesGames/tree/main/CopyPasteHighlight
    Which version do you prefer ?

  • @nekokna
    @nekokna 10 місяців тому +1

    you make the most interesting tutorials for me! no one tells about text mesh pro in such a cool ways!thank you

  • @davestr2046
    @davestr2046 7 місяців тому +1

    Really loving your tutorials. Thank you very much for your time & effort. Great work.

  • @jasonsoh8740
    @jasonsoh8740 Місяць тому +1

    Thanks alot has been very helpful

  • @AnEmortalKid
    @AnEmortalKid 10 місяців тому

    I’ve done this before with svg tags and had flashbacks to having to insert xml style nodes when you talked about computing the right index based on skipping the link tag tag link id

  • @josiasvallejos161
    @josiasvallejos161 5 місяців тому

    I tried this on a scroll viewport but doesn't seem to work, any idea how could I fix it?

  • @eliTheGuy05
    @eliTheGuy05 8 місяців тому

    if my game has to use overflow Text, due to text being scrollable and having multiple text mesh pro linked for overflow, is there anyway to achieve this functionality

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  7 місяців тому

      I haven't tried, but it sounds like a major headache to me to get to work. Hope you'll be able to find a way to make it work for you :)

    • @eliTheGuy05
      @eliTheGuy05 7 місяців тому

      @@ChristinaCreatesGames I was able to do it but it required a battle for it to work lol. You have to use an array with all the linked TMPPro together to find the click and then you do all the changes to the text in the first TMPPro that isn't overflow and force mesh update the other ones

  • @eliTheGuy05
    @eliTheGuy05 7 місяців тому

    for some reason my highlight color is always grey, do you know a fix for this?

    • @eliTheGuy05
      @eliTheGuy05 7 місяців тому +1

      Actually the issue was caused because the shader color was set to black which get rids of all color

  • @alexleonardkrea
    @alexleonardkrea 10 місяців тому +1

    Timestamp 7:06, say that five times fast!

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  10 місяців тому +2

      I did, cannot recommend xD There were some sentences in this script I had to rerecord over and over again. I swear, having this channel made me become so much better at tongue twisters :D

    • @alexleonardkrea
      @alexleonardkrea 10 місяців тому

      @@ChristinaCreatesGames haha, that's funny.