Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Programming in Unity

Resources and workflows for creating C# scripts in Unity to control elements of your application.
Read time 2 minutesLast updated 5 days ago

Programming in Unity refers to authoring your project's functionality in code rather than through the Unity Editor UI. This allows you to go beyond what can be done in the Editor UI alone. Interacting directly with the public Unity APIs allows for finer control and a greater degree of customization.
Learning to program in particular languages is beyond the scope of this section. However, there are many books, tutorials, and other resources for learning how to program with Unity. Refer to Unity Learn for further details.

Topic

Description

Get started with programming in UnityGet started with creating, naming, and editing your first Unity scripts.
Environment and toolsSet up your software development environment with the right tools for programming in Unity.
Object-oriented developmentDevelop Unity projects with the traditional object-oriented programming philosophy and architecture.
Compilation and code reloadHow Unity transforms the code you write into code that runs, and the implications for development iteration times and your application's runtime behavior.
Code optimizationProject configuration, design patterns, and coding strategies to help optimize the performance of your code.
Debugging and diagnosticsDebug, diagnose, and fix problems in your code.

Additional resources and examples