Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Someday, my intern is going to ask me about this function.

...

I... honestly don't know what I'm going to tell her.

If you want the long version, there's a big desc in the $3+ tier post, but the short less coder'y version is: this interacts with PoolManager, which is a Unity plugin I HIGHLY recommend you use: here 

and it lets me generically despawn stuff that I'm not 100% sure where it came from. Means I have to GetComponent<> this on despawn, which is slightly slow, so I won't do it anywhere I can safely assume where the thing came from, but for the cases where I need this functionality? Not even worth worrying about.

To any who would say this is totally dumb and shouldn't be in a codebase, I offer the following sage advice from The Governator:

Files

Previews only

Comments

No comments found for this post.