Hi All,
I’m new using unity3d, and I’m creating simple game and I want to show the score of the player, I have insert GUIText to the bottom of the screen
and I have created HUDController and create Public variable of type GUIText, then drag this class to one of the game objects and assign my GUIText to the public variable
and try to set the text in the update method but I got a null pointer exception
If I have did anything wrong please let me know
Thanks in Advance