Unity Roll a ball Game Lesson 3 Collecting the Pick Up Objects - jasonweibel/HyperStream-Unity GitHub Wiki

Hyperstream : Unity Roll-a-ball Game - Lesson 3 - Collecting the Pick Up Objects

Reference

Unity Tutorial - https://unity3d.com/learn/tutorials/projects/roll-ball-tutorial/collecting-pick-objects?playlist=17141

Debugging Unity games in Visual Studio - https://unity3d.com/learn/tutorials/topics/scripting/debugging-unity-games-visual-studio

Lesson

  1. Open PlayerController.cs script in Visual Studio

  2. Uncomment the OnTriggerEntry method

  3. Play Game!

  4. Edit the compare tag parameter on line 55.  What happens?

  5. On line 58 change the SetActive parameter to true?  What happens?

  6. Add a break point to the script and debug the project.

Attachments:

image2017-7-12_7-39-4.png (image/png)