Imagine that you have been hired to build a holographic corporate team-building exercise for an upcoming weekend event. The idea is to create a scavenger hunt to find a cute robot and you have a large group of mean robots trying to stop everyone. The event is a gamified first-person shooter/scavenger hunt. The winning team will get the real robot to help in their office. It will be fun; let the team get some tension out and repair some troubled relationships in the company. From the word go, you will be using prefabs.
A prefab is a Unity asset type that acts as a blueprint or a template. In our preceding example, something as simple as the bullets for the weapons or as complex as the large collection of really mean robots that are trying to stop the entire company from achieving their goals could also be prefabs.
Fundamentally, a prefab is a hierarchical collection of GameObjects and their...