Basic Unity Engine Managment

About COMPONENTS in Unity

What are "COMPONENTS" in Uni­ty and what are they for A COMPONENT in Uni­ty is a set of data and func­tions that define a spe­cif­ic behav­ior. Com­po­nents are assigned to scene ele­ments called "GameOb­jects" and give that object a par­tic­u­lar behav­ior. In this arti­cle I'm going to share every­thing I know about com­po­nents in Uni­ty that …

About COMPONENTS in Uni­ty Read More »

How to write a Text Mesh Pro text from Script in Unity

Intro­duc­tion In this arti­cle we will see how to work with the Text Mesh Pro com­po­nents from a Script, in addi­tion you will find a video from the chan­nel in which we will cre­ate a TEXT OBJECT to dis­play in a Can­vas and anoth­er Text Mesh for the 3D space and we will cre­ate a …

How to write a Text Mesh Pro text from Script in Uni­ty Read More »

How to know if a GameObject is ACTIVE or INACTIVE in Unity

Intro­duc­tion In this arti­cle we are going to see how to know the state of any GameOb­ject through code in Uni­ty. The GameOb­jects are the ele­ments of the scene that are used to mod­el every­thing that exists in our project in Uni­ty. One of the basic prop­er­ties that these GameOb­jects have is their acti­va­tion state, …

How to know if a GameOb­ject is ACTIVE or INACTIVE in Uni­ty Read More »

How to compile game or WebGL application in Unity, Testing, Possible errors

Intro­duc­tion In this arti­cle we see how to gen­er­ate a WebGL stand­alone ver­sion of our project that can be run on browsers, that is to say a pro­gram that can be host­ed on a serv­er, for exam­ple in Itch.IO or in our own web page. How to cre­ate a build for browsers from a Uni­ty 3D …

How to com­pile game or WebGL appli­ca­tion in Uni­ty, Test­ing, Pos­si­ble errors Read More »

How to compile a Unity project for Windows

Intro­duc­tion In this arti­cle we see how to gen­er­ate a stand­alone ver­sion of our project for Win­dows, that is to say a pro­gram that can be exe­cut­ed with­out the need to have the Uni­ty engine opened, this is the final result we are look­ing for, a ver­sion of the game or appli­ca­tion that can run …

How to com­pile a Uni­ty project for Win­dows Read More »

Installing Unity from Unity HUB 2021 — Unity Engine Basic Management Series

Intro­duc­tion The first step is to install the Uni­ty engine and the nec­es­sary tools to start devel­op­ing video games and appli­ca­tions. In this arti­cle we will review the fun­da­men­tal steps to install and con­fig­ure the Uni­ty engine, and we will also make a "stand­alone" com­pi­la­tion for Win­dows, that is, a ver­sion of the project that …

Installing Uni­ty from Uni­ty HUB 2021 — Uni­ty Engine Basic Man­age­ment Series Read More »

How to Solve: Visual Studio doesn't autocomplete in Unity

Intro­duc­tion In this arti­cle we see how to solve the Visu­al Stu­dio error in which it does not auto­com­plete code, that is to say, it does not rec­og­nize the engine's own com­po­nents such as the GameOb­ject, Com­po­nent or Rigid­Body class, this makes the pro­gram­ming task very hard. In the fol­low­ing video we see how to set …

How to Solve: Visu­al Stu­dio doesn't auto­com­plete in Uni­ty Read More »

How to solve "Can't Add Script" in Unity

Intro­duc­tion In this arti­cle we look at the caus­es of the "Can't Add Script" error in Uni­ty in order to under­stand why it occurs and iden­ti­fy what actions to take to fix it. In the fol­low­ing video you can see a brief descrip­tion on how to solve the "Can't Add Script" error in Uni­ty: ABOUT THIS VIDEO In …

How to solve "Can't Add Script" in Uni­ty Read More »

Different methods to FIND the REFERENCES of scene objects FROM a SCRIPT in Unity

Intro­duc­tion In this arti­cle we are going to see dif­fer­ent ways to find the ref­er­ences of GameOb­ject and Com­po­nents that are in the scene in Uni­ty to use them inside a Script, this is some­thing impor­tant because if we can access the object, we can manip­u­late it and any of its com­po­nents as we need. The …

Dif­fer­ent meth­ods to FIND the REFERENCES of scene objects FROM a SCRIPT in Uni­ty Read More »

ACTIVATE and DEACTIVATE GameObjects through CODE in Unity

Intro­duc­tion — Why acti­vate and deac­ti­vate GameOb­jects? GameOb­jects are the objects that can be placed in a scene in Uni­ty, the sim­plest gameob­ject has at least a Trans­form com­po­nent assigned, that allows to know its posi­tion, rota­tion and scale. You can add com­po­nents to these GameOb­jects and give them a more spe­cif­ic behav­ior. For example, …

ACTIVATE and DEACTIVATE GameOb­jects through CODE in Uni­ty Read More »

What is a MonoBehaviour in Unity

Intro­duc­tion In this arti­cle we are going to talk about what MonoBe­hav­iour is in Uni­ty, first a prac­ti­cal approach to know in gen­er­al terms what it is and what func­tions it ful­fils con­crete­ly, then we ana­lyze MonoBe­hav­iour from the pro­gram­ming per­spec­tive. What do we need to know about MonoBe­hav­iour to work at Uni­ty? When we created …

What is a MonoBe­hav­iour in Uni­ty Read More »

Differences between Update and FixedUpdate in Unity

Intro­duc­tion In this arti­cle we ana­lyze an exper­i­ment to under­stand what are the dif­fer­ences between Update and FixedUp­date in Uni­ty. To see these dif­fer­ences I set up a sim­ple Uni­ty scene with two cubes and some pro­gram­ming scripts, you will find the Uni­ty Packge for down­load in this arti­cle. IMPORTANT In this video we see …

Dif­fer­ences between Update and FixedUp­date in Uni­ty Read More »

Scroll to Top
Secured By miniOrange