NokiMo
Megan Fox
Megan Fox

patreon


Finding Hidden Unity Objects (code bonus)

Ok, so you read the public post, and you see the link you gotta click, and the code you gotta copy-paste, and wow, that's just... too much work.

I got u, dawg. See attached script. Just slap that into an Editor folder and you'll see "Hidden GameObject Tools" at the bottom of your Tools menu.

But speaking of that... man... at the bottom of the Tools menu? Geeze that's a lot of scrolling down. How can we make it NOT at the bottom?

This is a trick you mostly want when you go make stuff that gets added to GameObject menu, because wow does that get long. Here's how you control where stuff appears in those lists. This is my little convenience-tool that creates a grindable rail in the world...

... and because of that "priority" parameter, the "Skating" folder doesn't appear dead last in the GameObject folder. It ends up at the bottom of the top group. You'll have to fiddle with the number to get it where you want, but this is all you need.

Also, you create folders implicitly like the above example, and they seem to inherit their priority based on the highest-priority menu item they contain.


Related Creators