Hello! I want to display a number over my 3d Unity object. Could you help me? I already tried this :
void Update () {
text.transform.position = Camera.main.WorldtoScreenPoint(this.transform.position)
}
But it looked weird. It didn’t follow the after it got close to the side of the screen.
In the method in which the canvas is attached to the game object as a child, I couldn’t resize the text to be enough small but also be readable.
I would be grateful for any help.