Hi guys, I am aware that in build any variable text files my code depends on to construct the features of my game require unpacking in order for application data path to locate these files.
i have a couple of theories of how I will go about this but wondering if anyone has any simpler solution.
My main theory is to actually create some new files at the public location I want them the first time the game launched and then I will copy the data over from the default text files that are wrapped up within the build and the game will proceed to load using the applications data path for player modifiable files.
right now application data path points to the editor folders that are not available in build, files would have to be manually installed to the location of the exe after build in order for the built exe to find the data path files and construct the game elements. This is good for me right now because I can write code in my own language on my phone when it’s not a suitable time for me to sit at the cpu. Or that I am to receive insipristion any moment I can add something to the game at that moment via writing on my phone and then emailing myself the text file and slotting it into the game when I open unity.
I wonder; is creation of new files the only way to do this? It seems the more suitable way as it preserves a backup of the original game files, but not sure how exactly I would go about locating the original file data from inside the game in order to apply that data to a player accessible text file.
Any thoughts opinions suggestions will be loved.
Thanks