Ejemplo n.º 1
0
 // If Touch [Finger] moves on screen joystick also moves IF the touch started from Joystick Background
 private void OnFingerSet(LeanFinger finger)
 {
     if (startedOverJoystick == true)
     {
         if (LeanTouch.PointOverLayer(finger.ScreenPosition, layerMask))
         {
             MoveJoystick(finger);
         }
     }
 }