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