Is it possible to save a Widget Blueprint? I am attempting to do so, but when I perform a ‘Load,’ all the widgets return as ‘unknown’.
On Save:
On Load:
Need help plz. Thanks.
Is it possible to save a Widget Blueprint? I am attempting to do so, but when I perform a ‘Load,’ all the widgets return as ‘unknown’.
On Save:
On Load:
Need help plz. Thanks.
I think you’ll find it hard every works well to save references ( I think that’s what you have here ). That’s because references only really exist for the current run, and may well be different next time.
So here, rather than the actual references, you can save an index into an array of building types. When you reload, you still know what it’s referring to.
Little bit hard to explain when I’m not actually what you’re doing
No, the savegame system doesn’t know enough to put widgets back where they were.
In general, the idea of the UI is that the game creates the UI based on some underlying state; the state isn’t kept in the GUI. Thus, the savegame should save the STATE not the GUI, and then game should then populate the GUI based on the state.
Thank you!
Thank you. Your explanation was precise.