Control Your Spawn!

Ryan Sweigart
Apr 7, 2021
Nope; I’m not even going to touch this subject.

Let’s spawn a whole bunch of tiny Ethan clones!

It’s raining men, hallelujah!

Our hierarchy will soon be anarchy with all those adorable lil’ bros! How can we clean it up?

Make daddy proud!

We’ll make a container object to hold them all. When we instantiate an object, we can assign a parent to it. (We don’t mean Ethan in this case…)

Now our testosterone-driven pint-sized fellas can run around (leash-free), and our hierarchy is nice and clean. We can still expand the container object and see the Ethans whenever we want to.

GO FORTH, MY MINIONS!

“I shall call them, ‘Mini-Bros.’”

--

--