What is RUNTIME in programming — Example in Unity
In this article we see the concept of RUNTIME in programming and in particular the what is runtime in a Unity application.
In this article we see the concept of RUNTIME in programming and in particular the what is runtime in a Unity application.
Introduction In this article we are going to analyze an algorithm to add the numbers from 1 to 10, that is to say we will create a function that solves the operation 1+2+3+…+10, this function will be programmed in a generic way to calculate the sum of all the natural numbers from 1 to N, …
Introduction A Script is a document that contains programming instructions in a certain language, which is the one understood by the tool we are using to develop any application that requires programming. Some examples of the use of Scripts For example, a Script may contain a list of instructions for an Arduino to perform a …
What are Scripts and what are they for? — Example of use in Unity Read More »
Introduction The word instance in computer science is used with different meanings, for example we can talk about the instance of a computer program to refer to the program that is being executed. In this article we are going to see the concept of INSTANCE in object oriented programming, i.e. the instances that are created …
What is an INSTANCE in Programming — Examples in Unity Read More »
The loop is a repetitive control structure that allows us to repeat a sequence of instructions until a condition is no longer true. In a computer program, instructions are executed instruction by instruction in a sequential manner, this is known as the program flow. The control structures allow us to alter this execution flow, enabling …
{ What is a LOOP in programming } — Programming theory Read More »
Definition of BOOLEAN A BOOLEAN is a type of primitive variable that is characterized by being able to be in only two states, "true" or "false". The name of this variable is due to the mathematician George Boole who created Boolean algebra, which is the basis of all digital operations. Here is a more detailed …
Definition of STRING A STRING is a data type used to store text, it is not a primitive variable such as int, bool or float, but a set of primitive variables of the character type. Here is a more detailed article about what are variables in programming and the different types of variables. Syntax of …
{ STRING type variables } — Programming theory Read More »
Definition SYNTAXIS in programming is the set of rules that define the way to write code instructions. Each programming language has its own syntax, that is why it is not convenient to study programming based purely on writing code, but understanding the way of thinking, the basic concepts, knowing the control structures and how to …
What is the SYNTAXIS in programming? — Programming theory Read More »
Definition of FLOAT The name FLOAT comes from the "floating point" numerical representation system and refers to a type of primitive variable that is characterized by being a numerical variable that admits a decimal part, it can be used to represent positive and negative real numbers within a certain range and with a certain precision that …
What is a FLOAT? Floating Point Variables — Programming Theory Read More »
Introduction In this article we are going to see what are the differences between a class and an object in object-oriented programming (OOP). These are two concepts that can help us to solve complex problems because they allow us to increase abstraction, that is to say, to look at problems from a broader perspective. It …
Differences between Classes and Objects in Object oriented programming Read More »
Introduction One of the most important things we have to understand in object oriented programming is the concept of "REFERENCE", knowing what a reference is and how to find it will allow us to manipulate any object, access its data and its public functions. In this article we will see the concept of Reference in …
Introduction The IF statement allows us to make a decision based on whether a condition is true or false. The simple decision is to perform an action if the condition is true and otherwise do nothing. The double decision allows us to perform a second action if the condition is false. In the following video you can …
In this article we see how to access to a variable that is defined in another script in Unity so we can READ the variable or WRITE it.
Introduction In this article we will see how to execute functions defined in one script from a second script. First we look at the generic procedure. IMPORTANT Here you have a video about accessing calling functions from another script. All the information is presented to you as a generic example, two scripts, "ScriptA" and "ScriptB", the function we …
How to call FUNCTIONS defined in another Script. Examples in C# Unity Read More »
Introduction In this article we will see how to tell if an integer is odd or even using programming. We solve the algorithm in C# language for Unity. An even number is a number that is a multiple of 2, that is we can express that number as 2 multiplied by another number and the whole …
How to know if a number is EVEN or ODD in programming Read More »