Пример #1
0
 public UnityTouchInputProcessor(IUnityInputHandler handler, float screenWidth, float screenHeight)
 {
     m_pan    = new PanGesture(handler, screenWidth, screenHeight);
     m_pinch  = new PinchGesture(handler, screenWidth, screenHeight);
     m_rotate = new RotateGesture(handler, screenWidth, screenHeight);
     m_touch  = new TouchGesture(handler);
     m_tap    = new TapGesture(handler);
 }