is there a way to "hardcode a json" when a unity build´s compile?

by roseicollis   Last Updated July 10, 2019 20:13 PM

I´m currently creating an external tool to generate dialogues that are exported as JSON files. The idea is that after you create a dialogue (as a JSON), my main unity project reads that file and generates a dialogue. Right now it works just fine, but the json is an external file that you can modify even after compiling the game (of course). Is there a way to actually "hardcode" that json file so that the game doesn´t need to find and read the file every single time it plays?

thank you and sorry for my english

Tags : unity c# json


Related Questions


Updated January 04, 2019 03:13 AM

Updated September 16, 2016 08:07 AM

Updated September 16, 2016 08:07 AM

Updated September 26, 2016 08:07 AM

Updated November 29, 2016 08:05 AM