Hey guys!
I am looking for an easy way to read and write unformatted text from and into files.
The easiest way I could imagine would be a .txt file, accessed by a C# FileStream.
To create a file, I need the permission to do so, therefore I need an instance of the FileIOPermission.
When Unity compiles, everything is ok, but when it builds the app, I get the following two errors:
error CS0234: The type or namespace name ‘Permissions’ does not exist in the namespace ‘System.Security’ (are you missing an assembly reference?)#
error CS0246: The type or namespace name ‘FileIOPermission’ could not be found (are you missing a using directive or an assembly reference?)
Any help about fixing this is greatly appreciated. If there is another way to get what I am looking for, I would be happy to read about your suggestion.
Thanks in advance.