/// <summary> /// Close G4 when application quits. /// </summary> void OnApplicationQuit() { if ((RGConn == true) || (LGConn == true)) { CyberGloveUnityPlugin.Fini(); } }