My First Unity App
Create a new project
In order to start working on your first game, you have to create a project. Here you will have to decide what kind of game you wish to develop: 2D or 3D. 2D projects are useful for card games or plaftormers. 3D projects can be used for shooters, RPGs, stategy games etc. Since today we won't be creating a specific game, but learning the basiscs of Unity, let's select a 3D project.
- Open Unity Hub
- Press NEW button
- Select 3D project
- Enter project name
- Choose where to save the project
- Press CREATE button
- Wait for the project to be loaded :)
Unity Layout
Here you can find the Unity menus briefly explained (sections Knowing the Engine and How Unity works?).
Main menus:
- Hierarchy: contains a list of all objects from our game. We can modify this list however we want. By default, each Unity project has two objects: a camera (so that we can display something on screen; it's like taking a picture: you can't do that without a camera) and a source of light (without it, there will be no light in our game and we could not see anything).
- Project: here we can see the file system hierarchy. All the scripts we create, all the 3D models we use will have to be saved on the PC. From this menu, we can see all those files.
- Scene: a game in Unity is defined by multiple scenes. A scene can be the main menu of the game. Or one level from our game. From this menu we can arrange the objects in the scene.
- Inspector: this menu let's us edit objects from hierachy. Click on one object from the hierarchy menu and the inspector will update with the object's properties.
- Game: here we can test our game 😋
- Asset Store: from this menu we can import existing assets (3D models)
- Console: this menu will help us print values in order to check if everything was correctly done 😀
How to add simple objects in scene
The video from the previous section also covers this part of the lesson. It also covers how to implement gravity. Check it out. 😉
How to import custom 3D models
Ultima modificare: Saturday, 24 July 2021, 11:28