What is the difference between factory and collection factory? (SOLVED)

hi, i am @Grass_dev. this is my mobile account…

I learned well about factories for 1 week. but i did not dind a good meaning about factories… . and always i did confuse factory and collection factories.

so tell me good answer please…

thank you

A collection is s group of game objects and components arranged into some hierarchy. Use them for complex things such as an end of level boss consisting of many parts or a tank with a body and a turret and so on. When you spawn something like that you use a collection factory.

A game object is a single entity in your game with zero or more components. A bullet, a basic enemy, a power-up, the player etc. Use a normal factory component to spawn game objects.

1 Like

ok thnks.