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. Dismiss Notice

Text on Ground or Plane

Discussion in 'UGUI & TextMesh Pro' started by Andreas12345, Jan 10, 2019.

  1. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    523
    I am not sure i am right here:
    I want to put my race results on the ground like on the screenshot, alternative on a plane which is transparent on the ground.
    Anybody can point me to a start?

    UI text on worldspace? Or what i am looking for?
     

    Attached Files:

  2. jaygummers

    jaygummers

    Joined:
    Jan 10, 2019
    Posts:
    5
    Can you please elaborate a little more?
     
    Andreas12345 likes this.
  3. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    523
    Yes sure.
    When my race has ended i have a simple panel with UI text where the results are. (See screenshot)

    I am looking for a way to draw/show this text on the ground in front of the player camera.
     

    Attached Files:

  4. clintonb

    clintonb

    Joined:
    Dec 14, 2013
    Posts:
    15
    While you could absolute create a World Space Canvas, for what you are describing, I'd use some sort of text object directly in the world. Under the "Game Objects" -> "3D Object" menu, you'll find "TextMeshPro - Text" (if you've installed the TMP package), and "3D Text". Choose the one you like, position it to taste, and hook it up to some sort of script that'll set your text. Done :)
     
    Andreas12345 likes this.
  5. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    523
    Ah that helps, i ll give it a try, thanks!