Load/Save 2D Array of Enums
I have a bunch of Actors that each contain a TArray of a custom Enum class of mine. I would like these TArrays to be stored as a 2D Array in some sort of file. Ideally this file should easily editable. I've looked online / on the answerhub for various solutions to this issue.
Of these two it looks like JSON is my best bet, but are there any other, easier ways? I don't want to spend too much time on this.
PS - The reason I want to do this is because I'm creating these Actors dynamically in code, and any changes I make to their properties in the Editor are not retained the next time the level is loaded. If you can explain to me how to do resolve that in a way that doesn't require me to save to a file, please let me know. Right now the only thing I can think of is make changes in the Unreal Editor and save the results to a file. I'd rather not hardcode it.
Follow this question
Once you sign in you will be able to subscribe for any updates here