This lesson is only available with a subscription.
Lesson 3. Creating and manipulating variables
In this lesson we will discuss variables and how they can make our scripts powerful.
Software used
Unity 3.4
What you will learn
In this Unity tutorial we'll discuss the major foundations of scripting with Javascript in Unity. Then we will take what we've learned and apply it to a mini project. We'll look at several of the terms and techniques that are found when scripting in Unity such as creating and manipulating variables, understanding the different types of operators, and how we can create instructions for our game objects using functions. We'll also jump into creating logic with conditional statements, and loops. We'll even learn how to use basic arrays. Finally, we'll take what we've learned and apply it to creating a movement and animation script.
Tutor
Joshua Kinney