I want to use Speech Recognition in my Unity 4.6 game. I found that in C# you can use the Windows default speech recognition engine by referencing System.Speech. I tested this in a separate project and it worked easily. However, now I want to do the same in Unity but there is a problem.

I use this method to reference the System.Speech namespace. In Monodevelop, this appears to work fine. But then in Unity Editor, it doesn’t agree and gives me a set of errors.

Unity Editor doesn’t know the namespace System.Speech for some reason. And there is my problem. I tried referencing the namespace in all other assemblies, but it didn’t fix it.
What am I doing wrong?