Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 773 Bytes

File metadata and controls

21 lines (12 loc) · 773 Bytes

Unity Scene Hierarchy Cleaner

A Unity editor tool to clean up and organise the scene hierarchy. This tool sorts and renames GameObjects in the active scene to maintain a clean and organised hierarchy.

Features

  • Sorts GameObjects in scene alphabetically.
  • Renames duplicated GameObjects.

Usage

  1. Open Unity and load sample scene.
  2. Go to Tools > Clean Up Scene Hierarchy in the Unity menu bar.
  3. Click the Clean Up Hierarchy button.

Sample Scene

This repository includes a Unity sample scene with some GameObjects. You can use this scene to test the tool. Open the sample scene and click the Clean Up Hierarchy button in the Scene Hierarchy Cleaner window to sort the GameObjects. Note that GameObjects won't be sorted if they are prefabs.