Version: 2021.2
Roslyn analyzers and source generators
Creating and Using Scripts

Scripting concepts

Although Unity uses an implementation of the standard Mono runtime for scripting, it still has its own practices and techniques for accessing the engine from scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary
. This section explains how objects created in the Unity editor are controlled from scripts, and details the relationship between Unity’s gameplay features and the Mono runtime.

Roslyn analyzers and source generators
Creating and Using Scripts