private void PullLever() { if (hand == Hands.LeftHand) { if (InputInfo.GetGrippedLeft()) { if (canMoveHandle) // first frame of pull needs to be zero, need to wait until player knows he can pull { if (moveLever != null) { moveLever(averageVelocity); } } canMoveHandle = true; } else { canMoveHandle = false; } } else { if (InputInfo.GetGrippedRight()) { if (canMoveHandle) // first frame of pull needs to be zero, need to wait until player knows he can pull { if (moveLever != null) { moveLever(averageVelocity); } } canMoveHandle = true; } else { canMoveHandle = false; } } }