GameObjects and components
In this section, we will cover the following concepts related to components:
- Manipulating components
A component is one of several pieces a Game Object can be made of; each one is in charge of different features of the object. There are several components that solve different tasks, such as playing a sound, rendering a mesh, applying physics, and so on, and even if Unity has a large number of components, we will eventually need to create custom components, sooner or later. In the following screenshot, you can see what Unity shows us when we select a Game Object:
In the previous screenshot, we can see the Inspector panel, and if we needed to guess what...