Keep it up

That was some heavy-duty book-learnin'! Feel free to leave the room for a moment if you need to empty your brain. In this chapter, we:

  • Wrote our first Unity JavaScript
  • Applied the Script to a GameObject
  • Learned how to modify components through code
  • Removed a Script from a GameObject
  • Moved a GameObject with code
  • Hooked the position and rotation of a GameObject up to the mouse's position and movement
  • Dove into the Unity Script Reference and Component Reference to understand and to "borrow" some code
  • Took a crash course in programming to learn about:
    • functions and statement blocks
    • classes
    • data types
    • arguments
    • comments
    • logging

If you're still not grasping every little detail about programming, don't fret. Certain people are wired to just immediately get ...

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.