xsduan/unity-hierarchy-folders ? reverse-engineered prompt
Reverse engineered prompt
Build me a Unity package that adds real folder objects to the Hierarchy so I can keep big scenes organized without using empty GameObjects for everything.
I want a new Create Folder option in the GameObject menu, and I want folders to behave nicely in edit mode and play mode. Please include the different ways folders can be stripped or handled, like keeping child names grouped under the folder name, deleting the folder while leaving names alone, or replacing it with a simple separator in play mode. It should also work with prefabs, so folders get removed when needed and restored afterward without breaking anything.
Make it easy to install as a Unity package from a git URL, but if that is too much for older Unity versions, copying the Editor and Runtime folders into a project should still work. If there’s an example scene that shows how this works, include it too.
Are you gonna build this?
make sure you review the code using coderabbit