Skip to content

Demkeys/unitygameobjectselectortool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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.