Prefabs, Nested Prefabs and Variants in Unity

Offered By
Coursera Project Network
In this Guided Project, you will:

Create a basic prefab

Create a prefab variant

Create a nested prefab

Clock1.5 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

Managing assets in a game can be complicated and confusing. Even for small projects, maintaining consistency of assets across multiple levels is difficult and time-consuming. To help with this task, Unity allows saving of prefabricated objects, or "Prefabs." In this project, we will explore the power and convenience of Prefabs. We will create a simple "capsule bot," made of primitive objects, and explore how prefabs, with overrides and a special prefab mode, make asset-duplication and reconfiguration simple. We will then explore prefab variants, which inherit from a parent prefab, and nested prefabs that are compound objects made of many child-prefabs. (There is no coding in this guided project.)

Skills you will develop

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction and License-Activation

  2. Create a Basic Prefab

  3. Using Prefab Mode

  4. Override Prefabs for Custom Objects

  5. Create Prefab Variants

  6. Create Nested Prefabs

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.