Ejemplo n.º 1
0
 public void OnPointerDown(PointerEventData ped)
 {
     pressed = true;
     // tell the joystick manager to set the direction event
     joystickManager.SetButtonDown(buttonType, true);
     joystickManager.SetButtonUp(buttonType, false);
 }