Current sales My Tracked Assets Login
DEXSOFT Editor Tools: Group Selected preview
Unity

DEXSOFT Editor Tools: Group Selected

By DEXSOFT

FREE

Rated 0.0/5 from 1 ratings on Unity.

About DEXSOFT Editor Tools: Group Selected

  • Tools, Systems & Learning > Development Tools & Automation
Useful little script from our DEXSOFT Editor Tools series.

When you create your levels, you should always take care that objects on the scene are well organised and arranged in a manner that you can easily find and replace elements. For example, if you add windows or other props to your buildings, you want them all to be grouped on that same building.

When using Unity editor, it takes a lot of clicks to achieve the abowe mentioned actions. You need to create new empty GameObject, change it's name (f.e. Building1), select objects which you want to place inside and then drag them onto the just created empty object.

With Group Selected tool you can do that with one command. Select game objects holding CTRL key and choose one of two available commands from Tools-Group Selected menu. First one, Pivot from first selected (or to press Ctrl+G shortcut) will group selected object, take name from first selected object and preserve pivot from that object.

This option is ideal for creating new prefabs, just select all prefab elements, group them with this pivot option (Ctrl+G) and simply drag group in Prefabs folder. Done!

Second, Pivot zeroed out (SHIFT+G) will do the same, but pivot of the group will be placed in 0.0.0 point (origin).

So, selecting order is important if you want to take pivot from first selected object. In our example it is logical to select Building first and then windows and doors. Group will get name from the Building object and pivot will be chosen from those two options (Ctrl+G), from first object or in the origin (Shift+G).

Installation:
Download from Unity AssetStore or make new Editor folder inside Assets folder and copy script into it.

Usage:
Select desired objects holding Ctrl key in desired order in scene hierarchy and press Ctrl+G shortcut (Pivot from first selected), or Shift+G (Pivot zeroed out from Tools-Group Selected).

Unity price last checked .

Prices and availability may change.