Phidgets22: Basic Project Not Working Because of 1 Line
Posted: Thu Apr 11, 2024 2:35 am
Hello,
I'm trying to get a basic project 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. geometry dash scratch
I can't just default the command to "Phidget.FinalizeLibrary(0)", because that just crashes my Unity Editor. Any suggestions to solve this issue?
I'm trying to get a basic project 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. geometry dash scratch
Code: Select all
void OnApplicationQuit()
{
if (Application.isEditor)
Phidget.ResetLibrary();
else
Phidget.FinalizeLibrary(0);
}