Sunday, 7 March 2021

Understand the Overview GUI – Graphical User Interface of Unity Software;

 

Overview GUI

Once you open Unity software, you can see the new window.



Let’s concentrate on Tabs first, as other dropdown like File, Edit, and Assets etc. will come across while building the game.

The first Tab that we can see is the Hierarchy.

At top you can see the name of the scene (Sample scene). All objects placed here are subjected to this scene.

This tab contains the list of objects that we use to build a game.



As you can see in a blank or empty project there is a default object “Main Camera”.

As we watch movies in theater which are made from Camera and shown in theater, the same way building game also needs camera to display the In-Game Objects.
We can control the camera as per our requirements.

Like Camera, further we will come across various features of objects in the game.

 

Next we can see the Scene tab.

This is the tab where you build and edit your game with game- objects like resizing, reshaping. Also adding multiple objects which a required to fulfill the game like envirment, player or enemy etc.



In 2D game the camera will be more like stationary rather than moving  as in a 3D game because 3D games uses 3 directional Axis (X, Y ,Z) and 2D games use 2 Directional (X, Y). For simple understanding Left right and Up down in 2D game.

Here you can modify shape and resize any of the objects that you wish as per your design.

Next we can see the Game tab.



In this tab you can see the reference of the objects that you have placed in Scene tab but you cannot edit, only see how the actual game looks while playing either with touch controls or with keyboard of joystick as per different platforms like Android, Pc or Ios etc.

Next we can see the Inspector tab.

This tab shows the properties of objects that we are using to build a game and allows us to modify the components of the objects as we require.



Here we come across various types like mesh, collider and scripts, particles and lots more which we will discuss further.

As you can see in the inspector there is Transform option for selected camera which shows

Position - location of selected object as per x,y and Z axis.

Rotation – Required curved angle of selected object as per x,y and Z axis.

Scale -the length, width of height of an object.

In the camera option you can see the properties of camera.

Down below we can see the Project tab.

Here you can see the main Category as Assets, which means the required Objects or supports that you import or build/create in the game can be placed in separate folders to use for applying to objects via Inspector tab or adding to Scene tab.

For example – if you have created a tree in Scene tab and you want to apply textures (image) or materials to it, you can add it through inspector tab selecting the tree.


As you can see there are 4 folders below the Assets:

Scenes - Is the default folder which is used to create multiple scenes.

In simple term scene means the whole envirment that includes all of the objects and the elements in the game.

For Example one level can be done in one scene and for other level you can create a new scene and start building,

I have created 4 new folders in here,
Prefabs – Objects that can be placed in this folder can be used repeated in game as we like.

Scripts – Where we write the coding for behavior and instructions for objects in C# or Csharp as we say.

Sprites– Where we put all the images to be added.

Materials – Just the simple color that we need for objects instead of images.

Below the Assets category, we can see another category of Packages.

Packages are the installs that we require to customize our game and assets behavior which can be installed for Package Manager as we come across further.

Next we can see that Console tab which shows the error, warning or debug text as we do any error in coding. We can see the error and rectify as informed in the message which is very simple.



 

No comments:

Post a Comment