Spider uses the Entity Component pattern to build functionality.
An Entity is the building block of a Scene. Its appearance and behavior are defined by its components.
An Entity may have children entities.
You can add functionality to an Entity by adding components to it.
Select the Entity in the Scene View or the Preview Area
Click on Add Component in the Properties View
Prefabs are collections of Entities that make it easy to scale your project and re-use functionality.
To create a Prefab, right-click on an Entity in the Scene View, and select Create Prefab.
The Editor will create a corresponding Prefab asset, and link it to your Entity.
All the data describing your Entity will be moved from the Scene to the Prefab.
When an Entity is linked to a Prefab, the Editor shows a Prefab icon next to it:
It’s possible to override Prefab information on a per Entity basis.
To do so, simply modify the Entity as you would normally.
When an Entity linked to a Prefab is overriden, the Editor shows a different Prefab icon next to it:
If you change your mind, you can reset the Entity to its Prefab state, by right-clicking and selecting Revert to Prefab.
You can apply all changes from an Entity back to its prefab by right-clicking and selecting Apply to Prefab.
Note
This will affect all Entity instances using the same Prefab. Don’t worry though, Prefab overrides in other Entity instances won’t be lost.
You can detach an Entity from its Prefab by right-clicking and selecting Detach from Prefab.