Unity Interface

  • Unity Interface Basics:
    • Main sections in the Unity workspace:
      • Scene (at the center): contains environments and objects of your program. This is where you will design what each of your “level” looks like
      • Game (tab next to scene): where you can see what your program looks like when it is running. This tab can be dragged to be viewed side-by-side with Scene
      • Hierarchy (on the left): where you can find the structure of the currently loaded scenes, including names of all objects in the scene
      • Project/Console tabs (at the bottom):
        • Project: where you can find the structure of the project. Can be used to find available assets in the project to utilize during the designing process
        • Console: where information about the program is printed (such as error/warning) when it is running. Used during the debugging process
      • Unity follows basic laws of physics e.g. gravity, friction
      • GameObject: the data type for objects in the program that can interact with the environment and/or be interacted with. For instance, the player, the ground, the wall, and any object added to the scene are all GameObject.
      • Components: properties that can be added to a GameObject to specify its nature and behavior. These can be pre-defined and customizable (e.g. Rigidbody, Material), or user-defined through C# scripts. The majority of the code we write will be these scripts that are added to specific objects in the scene to establish the desired behavior