[this question has the unity3d tag and I can't change it to unity2d]
I was trying to use ViGEm using this tutorial to help me.
But when I was writing the code, a red underline appeared on using Nefarius.ViGEm.Client;
It said: 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?)
How do I make this work with Unity? I have carefully done every step of the tutorial.
These steps fixed it:
lib
folder and copy the .dll file to [Unity Project]\\Assets\\Plugins (create the folder if it doesn't exist)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.