void HandleHandEvent(object sender, LMWidgets.EventArg <HandData> e) { if (e.CurrentValue.HasHand) { data = e.CurrentValue; } }
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; }
bool IsCurrentHand(HandData data) { return HandContactState.state == HCS_HAS_HAND && data.HasHand && data.LeapHand.Id == TargetHandId.IntValue; }