Unity Fundamental Series — Learn the Basics of Unity Engine

Introduction

In the fun­da­men­tal series we will study spe­cif­ic char­ac­ter­is­tics and com­po­nents of Uni­ty to under­stand beyond the par­tic­u­lar sit­u­a­tion in which they apply. If we can under­stand how they work, we can apply that knowl­edge to cre­ate solu­tions for new situations.

This series is made up of ten top­ics that I con­sid­er to be the most basic thing we need to know to cre­ate games on Uni­ty. In gen­er­al we will study a par­tic­u­lar method of programming.

Introductory video of the series

(Activate the English Subtitles)

Programming Laboratory — GameDevLab

GameDe­vLab is a Uni­ty pack­age I made so you can study the ten themes in the series. 

Specif­i­cal­ly, it is a room in which there are ten "sta­tions". Each sta­tion is designed to attack one of the ten themes in par­tic­u­lar. Some themes are read­ing key­board entries, rotat­ing objects, load­ing scenes, among others.

Click on the link to down­load the pack­age. If there is a prob­lem, please leave a com­ment so I can fix it. 

578 Downloads

The package is for version 2018.3.2f1 onwards.

Project Configuration

Before start­ing to solve the pro­posed exer­cis­es it is nec­es­sary to down­load and con­fig­ure the GameDevLab.

Step 1: Create a 3D project in Unity

If you already have a project to exper­i­ment you can use it. If you are just start­ing with Uni­ty in fig­ure 1 you can see the nor­mal con­fig­u­ra­tion for the new project.

ventana de creacion de nuevo proyecto en unity hub
Fig. 1: The process of cre­at­ing games at Uni­ty begins here.

Step 2: Import the Fundamental Package

Right click on the Assets win­dow to dis­play the win­dow shown in fig­ure 2. Then go to Import Pack­age and click on Cus­tom Package.

Fig. 2: A pop-up win­dow that pops up when you right-click on the Assets fold­er of the project.

This will open a win­dow in which we have to select the file we down­loaded in step 1.



Step 3: Add the scene to the compilation

This step is not essen­tial to get start­ed, but it will allow us to cre­ate an exe­cutable file.

With the GameDe­vLab scene open, click on File and then on Build Settings.

ventana file de unity 3d
Fig. 3: File Tab in Uni­ty

ventana build settings de unity 3d
Fig. 4: Win­dow that appears when click­ing on the Build Set­tings option in fig­ure 3.

In the win­dow of fig­ure 4 we click Add Open Scenes and imme­di­ate­ly see that the cur­rent scene is added to the compilation.

With this we are now ready to begin solv­ing Unity's Fun­da­men­tal Series.

List of articles and videos

#1 — Read Inputs. Input Class Methods 

#2 — Find objects in the hierarchy. FindGameObject.

#3 — LookAt Method.

#4 — Create and Destroy GameObjects at runtime.

#5 — OnTriggerStay Method.

#6 — OnTriggerEnter and OnTriggerExit Methods. 

#7 — AddForce Method from RigidBody Class. 

#8 — Invoke Method from MonoBehaviour class. 

#9 — Rotate objects in Unity. Rotate Method

#10 — Change scenes in Unity

Scroll to Top
Secured By miniOrange