Search Unity

How to select text by long pressing with unity?

Discussion in 'UGUI & TextMesh Pro' started by saidghrnk, Oct 21, 2021.

  1. saidghrnk

    saidghrnk

    Joined:
    Feb 4, 2021
    Posts:
    1
    I'm developing a book reading application with Unity. Readers need to select text and copy it.

    I want to make text selection feature via Unity TextMeshPro.

    Is it possible to make text selection marks by long pressing as in the image?

    I need sample code

    1_Bq7-pNXfhSz7pgUrEHqmUw.png
     
    Last edited: Oct 21, 2021
  2. Y-Boy

    Y-Boy

    Joined:
    Jun 2, 2014
    Posts:
    4
    I need it too.