I'm making a multiplayer 2D platformer (which I'm very proud of, by the way xD), and I recently added a multi-target follow camera from this absolutely amazing tutorial:
But then I wanted to add a system for joining the game manually, and then I realised if I wanted to do that, I'd have to make an array containing all the current players and then append all of those to the "targets" list in the multi-target camera's script.
I've tried quite a few times, but each time I get an error basically saying that it hasn't appended the children, just the parent node.
I don't really know how to do this, so any help would be great. :)