public void ButtonExit() { if (buttonEnabled) { cursor.CancelClicking(); } print("Button Exit"); }
//KinectGestures.GestureListenerInterface virtual implementation public void UserLost(long userId, int userIndex) { //debug print ("UserLost"); //User lost so disable icon personDetectedIcon.enabled = false; //enable the crossed circle noPersonDetectedIcon.enabled = emptyCircleIcon.enabled =true;//false; //Cancel the cursor clicking phase because user was lost if(cursor!=null)cursor.CancelClicking (); }
public void UserLost(long userId, int userIndex) { print("UserLost"); //Debug.Break (); personDetectedIcon.enabled = false; noPersonDetectedIcon.enabled = emptyCircleIcon.enabled = true; //false; if (cursor != null) { cursor.CancelClicking(); } }
//When the cursor exits a buttons bounds... public void ButtonExit() { //If the button is enabled make the cursor exit it's countdown click phase if (buttonEnabled) { if (cursor != null) { cursor.CancelClicking(); } if (cursorDirect != null) { cursorDirect.CancelClicking(); } } //debug print("Button Exit"); }