TextMesh Pro - Link Tag Support & Tracking

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • This video show the initial impementation of support for links in TextMesh Pro using the new link tag. This video shows also how users will be able to interact with those links at run-time in the GameView by using some of the new utility functions to track character, word, line and link selection.
    TextMesh Pro is available in the Unity AssetStore www.assetstore...

КОМЕНТАРІ • 6

  • @interactive3d434
    @interactive3d434 8 років тому +1

    Hi!
    Can you make example with URL link ? Without hardcoded link's hashcode, please.

    • @Zolran
      @Zolran  8 років тому

      +Алексей interactive 3D The format of the link tag is The link text. The Link ID is stored internally as a hashcode to avoid allocations. The hashcode is computed from the Link ID.
      The links for any given text object are contained in the TextMeshPro.textInfo.linkInfo[] array. The linkID and LinkText can be retrieved by using the GetLinkID() and GetLinkText() functions where you don't have to know anything about the hashcode.

  • @lonaur
    @lonaur 8 років тому

    Hi +Zolran, some questions:
    a) Is it possible to increase the clickable link area? I've got a lot of text and so the text size is small. On mobile it's hard to click the links in the text.
    b) When the text is in a scroll view it's sometimes scrolling instead of opening the link. Any idea how I can improve this behaviour?
    Thanks

    • @Zolran
      @Zolran  8 років тому +2

      +Rainer Lonau The clickable area is defined by the bounds of each character, word, links, etc. It would not really make sense to fake / increase this area as using TMP_TextUtilities.FindIntersectingLink() we not be really reflective of what is going on. However, why not use the TMP_TextUtilities.FindNearestLink() function instead which returns the nearest link to your click.
      P.S. If you need further assistance on this, please make a post on the TextMesh Pro user forum as it would likely benefit more users plus I don't always get notifications of questions here on UA-cam.

  • @iAmVidyaGamer
    @iAmVidyaGamer 9 років тому

    Hey Zolran, this looks great. is this available now?

    • @Zolran
      @Zolran  9 років тому

      Joe Booth Link support in TextMesh Pro will be available in the next release which should be within the next week or so. Link support along with and tags will also be added.
      TextMesh Pro itself is available in the Unity AssetStore. However, the latest release for Unity 5.0 are available on the TextMesh Pro user forum.