Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Align text by the corner(near mouse)

Discussion in 'UGUI & TextMesh Pro' started by Nikmady, Dec 9, 2019.

  1. Nikmady

    Nikmady

    Joined:
    Mar 31, 2019
    Posts:
    7
    Hello, help me please to solve a problem.
    I need to align a text by the right mouse's corner. But... i don't know the ends lenght of the text(it will be flexible), and i need to set a flexible background image(behind the text) with fade-end at the end of text, like on the picture.

    Is there any opportunites to solve this problem, without to make unique "text fields" on every Mesh?
    Thanks.
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      253 KB
      Views:
      339
  2. Nikmady

    Nikmady

    Joined:
    Mar 31, 2019
    Posts:
    7