Version: 2022.2
Language : English
Multi-scene physics
Setting Up Your Scripting Environment

Scripting

Scripting is an essential ingredient in all applications you make in Unity. Most applications need 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
to respond to input from the player and to arrange for events in the gameplay to happen when they should. Beyond that, scripts can be used to create graphical effects, control the physical behaviour of objects or even implement a custom AI system for characters in the game.

This section explains the main concepts that apply to scripting in Unity.

Related pages

See the Unity Learn website’s Scripting section for tutorials on how to use scripting in Unity.

The Knowledge Base Editor section has troubleshooting, guidance on interpreting C# Compiler Errors and tips and tricks.

The Unity Forum also has common scripting questions and answers.

Multi-scene physics
Setting Up Your Scripting Environment
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961