Write Your First Script

The field is finished and none of it moves. Two walls, two paddles, a ball and a dashed center line sit on a black screen doing nothing. Every bit of movement in this game comes from code you write. Code reaches an object through a script, and this node makes your first one and puts it on the left paddle.

Topics in Write Your First Script

  1. Start and Update
  2. Fix a Compile Error
  3. Move With Code
    1. Why Time.deltaTime
    2. What a Vector3 Is
    3. Use Public Variables

All 54 topics in the Your First Unity Game