Introduction to C# in Unity 3.5
In this series of Unity tutorials we'll discuss the major foundations of scripting with C# in Unity and apply what we've learned in two mini projects. Software required: Unity 3.5.
What you'll learn
In this series of Unity tutorials we'll discuss the major foundations of scripting with C# in Unity and apply what we've learned in two mini projects. To start out, we'll look at several of the terms and techniques that are used 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. Software required: Unity 3.5.
Table of contents
- Basic C# Terms 12m
- Creating and Manipulating Variables 8m
- Working with Assignment and Arithmetic Operators 8m
- Working with Comparison and Logical Operators 11m
- Creating Logic with if Statements 12m
- Creating Switch Statements 7m
- Creating Custom Functions 12m
- Working with Loops 11m
- Understanding Arrays 16m
- Project: Basic Move Script 7m
- Project: Refining the Movement Script 9m
- Project: Creating the Jump Function 10m
- Project: Refining the Jump Function 9m
- Project: Finishing the Jump Function 7m
- Project: Creating the Advanced Move Script 14m
- Creating the Jump Functionality 6m
- Project: Scripting Basic Animations 8m