Hello. I have a question about can i encrypt my XML documents on build. They are placed in ..\Assets\Resources\... of course i can encrypt them before build, but it's uncomfortable because maybe later I'll have to change them. And my question is: is it possible to keep data human readable in resources and encrypt on build?
Why do you need to encrypt them? Assets used become serialized when the project is built anyway. I'm unsure what you are asking here.
How about you encrypt them, store them in resources and then when you load them in your script decrypt them? Still possible to decrypt but it always will be...
i was thinking about that, but i thought there must be another solution beside decrypt/encrypt always then i need to change anything in xml files
I think you can write editor scripts that execute when a build is made so you could perhaps encrypt it from there?
yep, but there is "resources.assets" file in root directory of "BuildName_Data", which contains xml files and after build they are human readable
They are only viewable in development builds if I remember rightly. Otherwise that "_data" folder will not exist.