Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Add components to GameObjects

Add, create, and manage components that define GameObject behavior and functionality.
Read time 1 minuteLast updated 12 days ago

Components define the behavior and functionality of GameObjects in Unity. Add components to GameObjects to give functionality like playing audio, responding to physics, or running custom scripts.

Topic

Description

Introduction to componentsAn overview of what components are.
Use componentsHow to use components.
Create components with scriptsLearn to use a script to create components.
Manage components and their valuesAdd, remove, reorder, and edit component properties in the Inspector window.
Constraint componentsAdd Constraint components to position, move, and manage GameObjects relative to each other.

Additional resources