Unity Fundamental Series

Uni­ty Fun­da­men­tal Series is a col­lec­tion of arti­cles and videos that show basic con­cepts of the Uni­ty Engine

What is a REFERENCE in programming

Intro­duc­tion One of the most impor­tant things we have to under­stand in object ori­ent­ed pro­gram­ming is the con­cept of "REFERENCE", know­ing what a ref­er­ence is and how to find it will allow us to manip­u­late any object, access its data and its pub­lic func­tions. In this arti­cle we will see the con­cept of Ref­er­ence in …

What is a REFERENCE in pro­gram­ming Read More »

#10 Change Scenes at runtime in Unity. LoadScene Method

IMPORTANT UPDATE FOR THIS ARTICLE This arti­cle is part of an old­er video series, I have cre­at­ed a use­ful solu­tion that allows you to load any scene with a but­ton just know­ing the name of the scene and you can reuse this solu­tion just drag­ging a script to a but­ton and chang­ing the name of …

#10 Change Scenes at run­time in Uni­ty. Load­Scene Method Read More »

#9 Rotate objects in Unity. Rotate method of the Transform class.

Intro­duc­tion In this arti­cle we're going to see how to rotate objects in Uni­ty. There are sev­er­al ways to achieve this, in this case we will use the Rotate method of the Trans­form class, this will direct­ly mod­i­fy the rota­tion para­me­ters that are observed at the top of the inspec­tor with the GameOb­ject select­ed. Go …

#9 Rotate objects in Uni­ty. Rotate method of the Trans­form class. Read More »

How to DELAY a FUNCTION using INVOKE method

IMPORTANT UPDATE This arti­cle belongs to an old series of the chan­nel, cur­rent­ly there is a video avail­able that explains bet­ter how to use the Invoke func­tion to make a func­tion be called with delay, you can watch it here: 🟢 How to DELAY a FUNCTION using INVOKE method Old Arti­cle Intro­duc­tion In this arti­cle we …

How to DELAY a FUNCTION using INVOKE method Read More »

#7 AddForce Method in Unity. RigidBody Class

Intro­duc­tion In this arti­cle we are going to study how to use the AddForce method of Unity's Rigid­Body class, which allows us to apply forces to GameOb­jects that have a Rigid­Body com­po­nent assigned to them. The goal is to make the ball in the GameDe­vLab bounce indef­i­nite­ly for the dura­tion of the game. Go to the …

#7 AddForce Method in Uni­ty. Rigid­Body Class Read More »

#6 OnTriggerEnter and OnTriggerExit Methods. Detecting objects in Unity

IMPORTANT UPDATE This arti­cle is part of an old­er video series, I recent­ly upload a Uni­ty pro­to­type to help under­stand­ing how the OnTrig­ger sys­tem works, how to con­fig­ure the objects from the scene and how the func­tions are called. Please check the oth­er arti­cle to see the updat­ed infor­ma­tion and down­load the Uni­ty Pack­age. ABOUT …

#6 OnTrig­ger­Enter and OnTrig­gerEx­it Meth­ods. Detect­ing objects in Uni­ty Read More »

#5 OnTriggerStay Method. Detecting Objects inside a region.

Intro­duc­tion In this arti­cle we are going to study how to use the OnTrig­ger­Stay method to detect the char­ac­ter in a cer­tain region and apply actions when that hap­pens. Specif­i­cal­ly, we're going to make the dam­age and health regen­er­a­tion sta­tions affect the char­ac­ter. Go to the project’s main page Pro­ce­dure We are going to use the …

#5 OnTrig­ger­Stay Method. Detect­ing Objects inside a region. Read More »

#4 Create and Destroy GameObjects in Unity at Runtime

Intro­duc­tion In this arti­cle we're going to look at how to cre­ate and destroy GameOb­jects at run­time. Achiev­ing this is very impor­tant for cre­at­ing games, because it allows us to place objects when and where we want and then destroy them. Go to the project’s main page Pro­ce­dure In this chal­lenge we are going to use …

#4 Cre­ate and Destroy GameOb­jects in Uni­ty at Run­time Read More »

#2 Find GameObjects from the Hierarchy in a Script

IMPORTANT UPDATE This arti­cle is part of an old­er video series, a NEW SERIES is now avail­able that goes into more depth on the top­ic of find­ing any GameOb­ject or Com­po­nents from a Script. ABOUT THIS VIDEO In this video we see the intro­duc­tion of the series on how to FIND GameOb­jects and com­po­nents from a …

#2 Find GameOb­jects from the Hier­ar­chy in a Script Read More »

#1 Read Input in Unity. Input Class

Intro­duc­tion In this arti­cle we are going to see sev­er­al meth­ods from the Input class that will alloud us to read key­board and mouse inputs in Uni­ty. Go to the Project's main page Before we begin, I invite you to watch the fol­low­ing video that resolves this prob­lem, make sure to acti­vate the eng­lish sub­ti­tles. Pro­ce­dure In …

#1 Read Input in Uni­ty. Input Class Read More »

Scroll to Top
Secured By miniOrange