Module 1: Introduction to Game Development
Module 2: Unity Interface and Basics
Module 3: Introduction to C# Programming for Unity
Module 4: Physics and Movement
Module 5: 2D Game Development
Module 6: 3D Game Development
Module 7: User Interfaces and Game Mechanics
Module 8: Animation and Visual Effects
Module 9: Sound Design and Implementation
Module 10: Building and Deploying Your Game
Module 11: Advanced Topics and Next Steps

3.3 Understanding Basic C# Syntax

Let’s break down the basics of C#:

Variables: Store information.

int score = 10;           // Integer (whole number)  
float speed = 5.5f;       // Float (decimal number)  
string playerName = "Sam"; // String (text)  
bool isAlive = true;      // Boolean (true/false)  

Methods: Perform actions.

void Start() {
    Debug.Log("Game Started!"); // Logs a message to the Console
}

Conditions: Make decisions.

if (isAlive) {
    Debug.Log("Player is alive!");
} else {
    Debug.Log("Game Over!");
}

Loops: Repeat actions.

for (int i = 0; i < 5; i++) {
    Debug.Log("Loop number: " + i);
}

    Activity: In the Start() method of your script, add a Debug.Log() statement to display a custom message when the game starts. Press Play and check the Console for the message.