-
Notifications
You must be signed in to change notification settings - Fork 1
Introduction to Unity
alexjbinnie edited this page Feb 7, 2018
·
1 revision
Unity is written in C#. If you know any Java, C or C++ it is very similar.
It is very popular and hence there are many tutorials on how to use it. Also, if you are ever stuck googling the problem will undoubtably give a solution
It is more than just coding - there is a visual editor that can be used for assigning variables and visualising the layout of the level.
In Unity, the basic building block is a GameObject. A GameObject represents 'something' - a cube, a camera, a light etc. GameObjects have Components, each one providing different functionality. A few examples are
- Transform: Every GameObject has this. Basically contains the position, rotation and scale of the object
- MeshRenderer: Renders a 3D object with a certain material (how it appears)
- AudioSource: Allows sound to be output