private void OnSkeletonRead(object sender, SkeletonReadEventArgs e) { if (e.SkeletonId != _lastSkeletonId) { _currentAppState.ResetSkeleton(); } _lastSkeletonId = e.SkeletonId; _lastSkeleton = e.Skeleton; UpdateListeners(); }