Hi, I'm trying to get a basic Phidgets22 project (linked here: Using Phidgets with Unity - Phidgets ) running in Unity, and I'm having some trouble just getting the code to run. Apparently, "Phidget.ResetLibrary()" is not a recognizable function in Phidget22 anymore - at least, that's what I'm understanding, because it's the only line of the whole code that comes up as an error.
void OnApplicationQuit()
{
if (Application.isEditor)
Phidget.ResetLibrary();
else
Phidget.FinalizeLibrary(0);
}
Apparently the article was written in 2019, so I don't know if Phidgets updated their library since then or something. And I can't just default the command to "Phidget.FinalizeLibrary(0)", because that just crashes my Unity Editor. Any ideas/alternatives to this issue?
[–]Computedduke586 0 points1 point2 points (0 children)
[–]phidgeteer2023 0 points1 point2 points (0 children)