Hey there,
Just switched from ES2 to ES3, I couldn't find the file editor option and by searching the forum I can see that 2 years ago you said that you'll add it in the future, am I missing something?
I want to encrypt the file, so it's not going to be easy to view the encrypted file in a script editor...
Thanks Joel!
File Editor
Re: File Editor
Hi there,
As there's not been much demand for the file editor (because as you suggest, most people edit the data directly in a text editor), we've been focusing on other features. However, I've added a feature request for it here.
In the meantime the best alternative would be to leave data unencrypted during development, but then enable encryption for the build. This could be done using platform-dependent compilation with the UNITY_EDITOR directive.
i.e. something along the lines of:
Joel
As there's not been much demand for the file editor (because as you suggest, most people edit the data directly in a text editor), we've been focusing on other features. However, I've added a feature request for it here.
In the meantime the best alternative would be to leave data unencrypted during development, but then enable encryption for the build. This could be done using platform-dependent compilation with the UNITY_EDITOR directive.
i.e. something along the lines of:
var settings = new ES3Settings(); #if UNITY_EDITOR settings.encryptionType = ES3.EncryptionType.None; #else settings.encryptionType = ES3.EncryptionType.AES; #endif ES3.Save<int>("myKey", myData, settings);All the best,
Joel