Unity Roll a ball Game Lesson 4 Displaying the Score and Text - jasonweibel/HyperStream-Unity GitHub Wiki

Hyperstream : Unity Roll-a-ball Game - Lesson 4 - Displaying the Score and Text

Reference

Unity Tutorial - https://unity3d.com/learn/tutorials/projects/roll-ball-tutorial/displaying-score-and-text?playlist=17141

Update PlayerController.cs script

  1. Uncomment countText and winText public variable

  2. Uncomment SetCountText method

  3. Uncomment the use of SetCountText in OnTriggerEntry method

  4. In Start method uncomment the use of SetCountText and setting of winText.text

Add Canvas, Count Text, and Win Text

  1. Create Canvas

  2. Add Text to Canvas

  3. Add Count Text

  4. Add Win Text

Play Final Game!

Attachments:

image2017-7-12_7-41-10.png (image/png)
image2017-7-12_7-41-49.png (image/png)
image2017-7-12_7-42-37.png (image/png)
image2017-7-12_7-42-59.png (image/png)
image2017-7-12_7-43-38.png (image/png)
image2017-7-12_7-44-4.png (image/png)
image2017-7-12_7-44-28.png (image/png)
image2017-7-12_7-44-56.png (image/png)
image2017-7-12_7-45-30.png (image/png)