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.
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.
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.
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#.
More ways to learn how to program a game in Unity
Learn C# from Brackeys
Check out this series from uber-popular YouTube channel Brackeys, which introduces you to creating C# scripts in Unity.