TEnumAsByte saving and loading
Kind of a newbie question, but I've been working on this plug-in for saving and loading texture presets. I've gotten to a point where I can save out and load back in most of the values from a texture editor window, but I am having issues with the TEnumAsBytes.
I'm saving out the values like this:
Then convert it to an FString using GetValue()
I'm not sure if that's working as intended, and then the second problem is loading it back in. Loading it in from a file, the value would be loaded into an FString. How do I convert that to a value I can use to set TEnumAsByte with?
asked Nov 08 '15 at 07:38 PM in C++ Programming
I thought I had answered this, but you were half right Jerry. I got the value correctly using your method
But in order to use that info to set the TEnumAsByte, I had to use the value to create a new enum. The set function required another enum.
answered Dec 05 '15 at 07:19 PM
From one noob to another, I can provide the method I used to get this done:
answered Nov 16 '15 at 08:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here