Hello all, I’m working on something where you can change the material of an actor from predefined options, save it and reload it. I’m trying to decide the best way to load the material chosen when you resume the game. I can’t just directly store the materials in the save game, because they are references. I could match them up with integers, like some kind of makeshift ID system and reload them that way, but that feels tedious and improper.
Is there an easier way of doing this? Any help would be appreciated greatly.
I was afraid of that. Fortunately, you reminded me of Enums! That’ll make the int to material system a little less painful to read, so thank you for that!
Thank you very much, was just making sure I was not overlooking anything.