Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Collections

Neonage edited this page Mar 18, 2021 · 5 revisions

Collections

Collections

GameObject / Create Collection

Collection is used to organize game-objects in Editor.
Unlike game-object parent, it does not affect runtime transform hierarchy.

Best Practices: Transforms Optimization
Best Practices: Optimizing the Hierarchy

Stripping

Children are detached during build process or while entering playmode.
Because of that, scene hierarchy will be flattered at runtime.

There is an option in Preferences to keep collections in Editor playmode.

Attaching Components

Because collections are being stripped in build, attaching components is not allowed.
If you want collection to behave like a regular game-object, use Keep Transform Hierarchy option.

Unsupported (yet)

  • Stripping in Prefabs
  • Entities transform optimizations
Clone this wiki locally