繁体   English   中英

使用 Unity 时缺少 ViGEm.NET 命名空间?

[英]ViGEm.NET namespace missing when using Unity?

[这个问题有unity3d标签,我不能把它改成unity2d]
我试图通过教程使用 ViGEm 来帮助我。
但是在我写代码的时候,在using Nefarius.ViGEm.Client;出现了一个红色的下划线using Nefarius.ViGEm.Client;
它说: The type or namespace 'Nefarius' could not be found. (are you missing a using directive or an assembly reference?) The type or namespace 'Nefarius' could not be found. (are you missing a using directive or an assembly reference?)

我如何使用 Unity 进行这项工作? 教程的每一步我都认真完成。

这些步骤修复了它:

  1. 转到 nuget 网站并下载软件包。
  2. 将文件解压缩为 .zip 文件。
  3. 进入lib文件夹并将 .dll 文件复制到 [Unity Project]\\Assets\\Plugins(如果该文件夹不存在,则创建该文件夹)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM