Getting started with Unity Prefabs
We’ll be learning about that wondrous little thing called the “Unity Prefab” in this tutorial- quite possibly the fix for many of your troubles (Unity related, that is), and most certainty the salvation of your sanity.
Prefabs allow you to create anything in unity- as complex as you like- and save it out for later use. Better yet, you can then edit the original, and have it instantly update all other copies of it, or edit the copies indivually and keep certain properties “global”, apply changes from one to many in a single click, and more. Not making sense in writing? Watch the tutorial already! You will thank yourself a thousand times over.
What is covered in this tutorial:
- Creating a new Prefab
- Editing the Prefab “globally”
- Editing the Prefab “locally”
- Applying changes from an in-game Prefab to all other Prefabs
- Reverting a changed Prefab to the base Prefab
- Breaking the Prefab link