Dear Community,
I watched a small tutorial about Text in Unity 5. I am able to create and update score for my 2d game. Still, I am trying to figure out what is the “big picture”:
- How to handle additional messages. For example “Press a button to start” or “Warning: low HP!” or “Press play to continue!”. Do I use same canvas and set only the visibility/position of that text in a script?
- Is it a good idea to use canvas with buttons in another canvas for a dialog box, that appears when the user presses a “PAUSE” button?
- On collecting objects (say coins), I want to show a Text with the value of the coin right next to the position where the coin was collected, and let that text slide upwards and then fade out. How should I do it? Instantiate a Text object on collecting a coin? Moving and fading it through script or use Animator/Animations? Use same canvas for the text as the canvas of the score?
Open for any suggestions, thanks for all the answers and help!