playMaker

Author Topic: Display text on Ground  (Read 120 times)

heavygunner

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Display text on Ground
« on: February 17, 2020, 12:21:12 AM »
Hello !

I wanna display text text/sprite on ground like this. How to do it ?

I did a search on Google and found below answer on Unity forums. But, couldn't get it done.

Quote
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 :)

Thanks.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15082
  • Official Playmaker Support
    • View Profile
Re: Display text on Ground
« Reply #1 on: February 17, 2020, 05:48:09 AM »
Hi,

 one way is to use Text Mesh: https://docs.unity3d.com/Manual/class-TextMesh.html

or you can also use regular canvas but set to be shown in World space.


Bye,

 Jean