To demonstrate the use of static game objects, we cannot use the dynamically instantiated sunglasses by SunglassesReplicator. But given we have this script, we'll use it to our advantage now:
- In Hierarchy, select SunglassesReplicator and drag the Sunglasses-original prefab from Project Assets onto its Prefab slot
- Press Play
- While playing, in the Hierarchy, select all the Sunglasses-original(Clone) objects (there's 1000 of them!). Right-click and select Copy
- Stop the play mode
- In Hierarchy, create an Empty game object and name it SunglassesBorg.
- Paste the cloned sunglasses as children of SunglassesBorg
- Disable the SunglassesReplicator object, as we no longer want to use it
If you had the need to do this more than once, ...