Replacing a gameObject and its children with another gameObject/children?

Hello all!

I have a Save Game logbook that records some notes on each save slot. On my Load game logbook, I want it to mirror the text that’s on the Save Game logbook.

I have a huge “SaveGameText” gameObject that has all the text that I need mirrored on the Load Game window. The SaveGameText object has a ton of children too. I pretty much want something like.

public GameObject SaveGameText;
public GameObject LoadGameText;

LoadGameText = SaveGameText;

I tried that and didn’t have any luck.
The SaveGameText changes each time a player makes a save. So it’s different every time (hence why I want the LoadGameText to dynamically sync with the SaveGameText).

What would I need to do to accomplish my goal?

Thank you for your time!

Hey mate, instead of trying to sync both objects with the same data, why don’t you use a plain OR scriptable object as a data container and just reflect it on Save and Load logbook? This way you avoid the error-prone of syncing