Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

Problem with referencing namespaces C#

$
0
0
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. ![alt text][1] 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. ![alt text][2] 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? [1]: /storage/temp/54269-ss1.png [2]: /storage/temp/54270-ss1.png

Viewing all articles
Browse latest Browse all 398

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>