i use the core asset leap motion unity 4.3.0 and get a problem to find first hand controller. error
Assets/script/PlayerMotor.cs(53,28): error CS0117: Leap.Hand' does not contain a definition for
Invalid'
how to fix it?
if (LEAPcontroller.IsConnected) {
Frame frame = LEAPcontroller.Frame ();
//Find first hand of control type
Hand controlHand = Hand.Invalid;
foreach (Hand hand in frame.Hands) {
if ((hand.IsRight && rightHandControl) || (hand.IsLeft && !rightHandControl)) {
controlHand = hand;
break;
}
}