void HandleHandEvent(object sender, LMWidgets.EventArg <HandData> e)
 {
     if (e.CurrentValue.HasHand)
     {
         data = e.CurrentValue;
     }
 }
Beispiel #2
0
 bool IsCurrentHand(HandData data)
 {
     return(HandContactState.state == HCS_HAS_HAND && data.HasHand && data.LeapHand.Id == TargetHandId.IntValue);
 }
				void HandleHandEvent (object sender, LMWidgets.EventArg<HandData> e)
				{
						if (e.CurrentValue.HasHand)
								data = e.CurrentValue;
				}
Beispiel #4
0
 bool IsCurrentHand(HandData data)
 {
     return HandContactState.state == HCS_HAS_HAND && data.HasHand && data.LeapHand.Id == TargetHandId.IntValue;
 }