-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Click on collection icon to bring up popup with color bar.
Children are detached during build process or while entering playmode.
Because of that, scene hierarchy will be flattened at runtime.
Note: There is an option in
Preferences
to keep collections in Playmode.
Important! When collection is disabled and Keep Transform Hierarchy
is unchecked — children would be stripped from build!
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.
- Stripping in Prefabs
- Entities transform optimizations
Smart Hierarchy is designed and developed by me, an unpaid self-taught developer.
If you found this project useful — please consider supporting further development financially!
- Hover Preview