Components are scripts added to a GameObject in Unity3d.
In Unity you can create GameObjects
in a scene and attach scripts to them that include game logic and extend MonoBehaviour
. A script is written in C#
, javascript
or boo
and becomes a component
when attached to a GameObject
.