Learn how to program a game in Unity

Want to code your own video games? Start with free coding kits and tutorials from Unity Learn and our amazing community.

Unity FPS Microgame

Unity FPS Microgame

Code games with Unity

New creators can download Unity for free and begin with ready-made Unity Microgames and Mods. Then dive into our tutorials to explore the structure of C#, the programming language used in Unity. Learn how to write simple C# scripts to create gameplay, mechanics, visual effects, AI systems and more.

Make beautiful games

Discover your love of programming in Unity! It could be the start of a great career. Unity is the most widely used game creation platform in the world – 50% of all mobile games are made with it. According to LinkedIn, “Unity Developer” is among the top 10 emerging positions in the U.S.

Introduction to C# scripting in Unity

Introduction to C# scripting in Unity

What is C#?

Scripts in Unity are written in C#, a rich, general-purpose programming language that’s easy to learn. Here’s our own straightforward introduction to C# scripting in Unity, including an explanation of the basic syntax of the language: variables, functions and classes.

Unity Creator Kit: Code

Unity Creator Kit: Code

Write your first script in Unity

Creator Kits are simple game-making projects available on Unity Learn. You can complete them in just a few hours. With the Creator Kit for beginner coders, you’ll explore the basics of C# code for Unity in the context of an action RPG video game.

Create with Code course from Unity

Create with Code course from Unity

Full course: Create with Code in Unity

Create with Code is Unity’s official introductory scripting course – more than 37 hours of rich instructional content. Through prototyping, tackling programming challenges, and completing fun quizzes, you will learn how to develop your own game project from scratch in C#.

We use cookies to ensure that we give you the best experience on our website. Visit our cookie policy page for more information.

Got it