- Unity 4.x Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 76字
- 2025-03-31 04:02:04
What is code?
Code is just a series of instructions that you give to Unity to make it do stuff. We write lines (sentences) of code describing what we want to accomplish; these lines are called statements. Unity reads these statements and carries out our instructions. In Unity, you usually take a set of instructions and "stick" it to a GameObject. From now on, we'll use Unity's terminology Script to describe a collection of code statements.