In Unity, trying to use System.Speech in my C# script and I am getting this error:
The type or namespace name 'Speech' does not exist in the namespace 'System' (are you missing an assembly reference?)
I downloaded the System.Speech.dll and put it inside the \Library\ScriptAssemblies
of my Unity project, however every time I compile the project, this folder gets cleaned and all the DLL gets lost.
I am new to C# and Unity, is there a way that I can manage to keep the file in the folder? I am trying to find the script that builds the project to modify it and not clean everything before the build, but no solution yet.
Instead of putting the DLL file inside \Library\ScriptAssemblies I think the DLL file is just supposed to go into the assets folder then save your project and relaunch unity and visual studio