Space Shooter: GUIText is obsolete
GSoster opened this issue · 2 comments
GSoster commented
In the Space Shooter tutorial about score it is used the GUIText component. It is obsolete and the recomended one now is Text (from Canvas).
It is necessary to modify the code to make it work.
GSoster commented
Altered the UI componentes in the commit: e320d8a
It was necessary to add a new GameObject Canvas, add the Text component to it and change the scripts to work with them.
Also it is necessary to add using Unity.UI in the scripts that get in touch with the Canvas/Text component.
It still necessary to adjust the text in the screen and set a proper initial value to it.
GSoster commented
This problem was solved in some past commit. The GUI is working fine now.