O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - re-Prefab the Prefab

Because we broke the Prefab by adding something new to it, any new instance of the Character Prefab we drag out of the Project panel won't have the Box Collider on it. We can tell Unity that we want this aberrant, modified Prefab to actually overwrite what's in the Prefab container by clicking on the Apply button. Here's how to find it:

  1. Make sure the Character Prefab is selected in the Hierarchy panel.
  2. At the top of the Inspector panel, just beneath the Tag and Layer buttons, look for a set of three buttons that say Select, Reconnect, and Apply.
    Time for action - re-Prefab the Prefab
  3. Click on the Apply button. Go on. You know you want to.

When you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required