Script of prefab in scene, but not asset

Hi Bill,

Prefabs do not exist in the scene. Only game objects exist in the scene.

When you drag the Movement script on your Rocket in the scene, the prefab does not get updated automatically. You have to explicitely apply these changes to the prefab. Click the “Overrides” button.

This behaviour makes sense. Imagine you have an enemy prefab, and you create 100 game objects with this prefab. When experimenting with one of the enemies, you usually don’t want to change all of them. When you are happy with the result, you could either create a new prefab or apply the changes to the prefab, so all enemies get the same values. If you are unhappy with the result, you could simply delete the manipulated enemy without having to worry about the prefab or the other enemies.

Did my explanation make sense?


See also:

1 Like