Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 712 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 712 Bytes

Unity GameobjectSelector Tool

Make sure to place this script in the Editor folder. To open the window click 'MyTools/GameobjectSelector'. This window lets you assign a gameobject to the ObjectToSelect field. Once a gameobject is assigned, if the gameobject has any child gameobjects, four buttons will show up, giving you the following options.
1.Select Parent gameobject
2.Select First child gameobject
3.Select Last child gameobject
4.Select all child gameobjects
This is useful in situations where there are many child gameobjects and you don't wanna have to scroll through the hierarchy every time you wanna select the first, last or all child gameobject.
Hope this helps.