/// <summary> /// Disables all key poses and calls Stop on MLHandTrackingStarterKit. /// </summary> void OnDestroy() { // Disable all key poses if MLHandTrackingStarterKit was started _trackedKeyPoses &= 0; UpdateKeyPoseStates(); MLHandTrackingStarterKit.Stop(); }
/// <summary> /// Clean up. /// </summary> void OnDestroy() { MLHandTrackingStarterKit.Stop(); }