This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
prefabs [2021/02/08 08:25] uninomiconadmin |
prefabs [2021/05/14 11:14] 83.83.63.132 Added a third point, fixed punctuation |
||
---|---|---|---|
Line 7: | Line 7: | ||
- The reference *is* the same. Unpacking doesn' | - The reference *is* the same. Unpacking doesn' | ||
- Unity creates a set of new Objects for the unpacked prefab, and then fixes up all old reference pointers. | - Unity creates a set of new Objects for the unpacked prefab, and then fixes up all old reference pointers. | ||
- | )) The new unpacked objects will have new [[GlobalObjectId]]s | + | )) The new unpacked objects will have new GlobalObjectIds |
* In the Editor, prefabs have two [[GlobalObjectId]]s. | * In the Editor, prefabs have two [[GlobalObjectId]]s. | ||
+ | * Referencing a gameobject to itself inside of a prefab will result in that reference being to the prefab, not the instance of the prefab. | ||