new to this forum First would like to thank you for this awesome asset!
I have a problem trying to use "ES3.KeyExists" method. Scenario:
1. I'm saving multiple files with all information I need -> this works fine.
2. Game is scalable, I would like to implement new features in the future updates, thus I will need to add new Keys in saving which are logically not exist from the beginning.
3. I tried to use KeyExists as following example (checking for a new Key in the existing file):
Code: Select all
if(ES3.KeyExists("myInt", "myDirectory/myFile.es3")) myInt = ES3.Load<int>("myInt", "myDirectory/myFile.es3");
I followed every tips in tutorials - still no luck.
Btw, to check for non-existing directory works fine:
Code: Select all
if(ES3.DirectoryExists("myDirectory/")) myKey = ES3.Load<int>("myInt", "myDirectory/myFile.es3");