I have a game in Unity where I create GameObjects every few seconds. Then, in the hierarchy, prefabricated files are displayed in the list of their instances, for example:
EnemyBlue(Clone)
EnemyRed(Clone)
EnemyGreen(Clone)
EnemyBlue(Clone)
What clogs my hierarchy. My question is, is it possible to instantiate GameObjects as a child of an empty GameObject, for example:
Enemies
EnemyBlue(Clone)
EnemyRed(Clone)
EnemyGreen(Clone)
EnemyBlue(Clone)
user5470869
source
share