void Game_OnEventStopRecognized(EventStopRecognizedEventArgs gca) { foreach (KinectEvent Event in gca.Events) { if (Event.Type == KEvents.Pose) { //Stop showng Right swort casting animation if ((Event.Value == "s1")) { startcastingRight = false; } //Stop showng Left swort casting animation if ((Event.Value == "sl1")) { startcastingLeft = false; } } } }
void Game_OnEventStopRecognized(EventStopRecognizedEventArgs gca) { foreach (KinectEvent Event in gca.Events) { if (Event.Type == KEvents.Pose) { //Stop showng Right swort casting animation if ((Event.Value == "s1")) { startcastingRight = false; } //Stop showng Left swort casting animation if ((Event.Value == "sl1")) { startcastingLeft = false; } } } }