- Home /
Anchoring GUI Score
Heyo!
So, Im trying to figure out how to set up the score GUI. When I destroy an enemy object, it will increment as I please. But when the numbers get bigger, it shifts the "Score" label to the left. How do I make shift only the score count to the right and not affect the label?
Comment
Answer by Raydaq · Apr 19, 2013 at 09:16 PM
guiText.alignment = TextAlignment.Left;
Unity Docs : guiText.alignment
Alternatively, this can also be done in a GUI skin.