lesson
VectorsUnity for Beginners - Animal CrossingUnderstanding vectors is useful before we start making games. A vector is basically a quantity which has a direction. Vectors are useful and are used a lot in Unity. They're used to store the x, y and z values of components such as transform, rotation and scale. We cannot store these values together in a general variable. We need to use vectors for that.
lesson
ClassesUnity for Beginners - Animal CrossingC# is an Object-Oriented Programming language in which the programmer can develop software in modules. This is accomplished through treating data as **objects**. A class is like a blueprint or template of a specific object in which its properties, fields, events and methods are specified.
lesson
FunctionsUnity for Beginners - Animal CrossingA function groups together code statements to perform a specific task. Whenever a function is called, all the code statements inside that function will execute.
lesson
LoopsUnity for Beginners - Animal CrossingYou can execute a statement or block of code multiple times using loops. This is called iteration.
lesson
Conditional statementsUnity for Beginners - Animal CrossingImagine if your code could do different things based on different conditions. Well, it can! Using conditional statements we can control the flow of our programs.
lesson
ArraysUnity for Beginners - Animal CrossingArrays are a collection of values of the same data type. They are extremely useful data structures and help us write more complex code.
lesson
CommentsUnity for Beginners - Animal CrossingComments help to document your code and inform the intent of your code.
lesson
OperatorsUnity for Beginners - Animal CrossingOperators are used to carry out operations on operands. Operands are values or variables on which an operation is carried out.
lesson
Data typesUnity for Beginners - Animal CrossingWe will discuss the data types that will be used in our scripts. First let's understand what we mean by data types. A data type can be defined literally as a *type of value or values*. For example, your age is an integer, and your first name is a type of data composed of a sequence of characters.
lesson
VariablesUnity for Beginners - Animal CrossingA variable is a reference to some value in memory. Think of it as a container for holding a value. Before a value can be stored, its type must be specified (by default C# is a strongly typed language).
lesson
Introduction to scripting in UnityUnity for Beginners - Animal CrossingIn this module we will be covering the basics of scripting in Unity with C#. If you haven't done any programming before, don't worry - we will cover the core concepts. Additionally, whenever we write a C# script for our game, I will explain the lines of code.
lesson
Unity asset store overviewUnity for Beginners - Animal CrossingLearn how to add more objects to your game world by importing assets from the Unity store.