CubeGestureListener.UserLost C# (CSharp) Method

UserLost() public method

Invoked when a user gets lost. All tracked gestures for this user are cleared automatically.
public UserLost ( long userId, int userIndex ) : void
userId long User ID
userIndex int User index
return void
	public void UserLost(long userId, int userIndex)
	{
		// the gestures are allowed for the primary user only
		if(userIndex != playerIndex)
			return;


        sGestureText = string.Empty;
		
	}