{{description>Discover how to create and clone GameObjects using this module that places them at specified spots, offers customizable settings, and exports to Unity scenes.}} ====== Create GameObject ====== This component is used in example scene(s) such as: 22_CGClonePrefabs, 28_AsteroidBelt. Clones one or more [[..:datatypes#GameObject|GameObjects]] or Prefabs and places them at the positions defined by the input [[..:datatypes#Spots|Spots]]. ===== Slots ===== ==== Inputs ==== ^ Name ^ Type ^ Description ^ | GameObject[] | Array of [[..:datatypes#GameObject|GameObject]] | The GameObjects or Prefabs to clone | | Spots | [[..:datatypes#Spots|Spots]] | Placement locations and orientations for the clones | ===== Settings ===== ==== General ==== Options applied to all created GameObjects. === Make Static === When enabled, all created GameObjects are flagged as [[http://docs.unity3d.com/Manual/StaticObjects.html|Static]]. === Layer === The layer assigned to all created GameObjects. === Apply Layer On Children === When enabled, the Layer setting is also applied to all child objects of each created GameObject. ==== Export ==== Options for saving created GameObjects outside the generator. === Save To Scene === Creates a copy of the generated GameObject(s) outside the generator hierarchy, as standalone scene objects.