Is it possible, using scripting, to get a text box to follow a player?

I’m attempting to allow a count text (score) to follow my player, but I don’t know how to get the text to follow. I do know how to make my camera follow though.

Add another canvas with Render mode set to World Space. UI text that follows the player would be a child of this canvas. Make this canvas child of the player so it inherits player’s transform OR assign player’s position to UI text’s in every Update().

Its really easy…you will need a canvas then you have to select you player in hierarchy and focus on it… now select the canvas and press ctrl + shift & F you will get canvas somewhere near your player now set is according to your need plz make sure to set anchors otherwise you will get resolution issues, thank me later :slight_smile: