protected override void InputUpdate() { rectTransform.anchoredPosition = originalPosition + amplitude * XInput.GetStickDirection(stick, playerIndex); pressedImg.enabled = XInput.ButtonHold(button, playerIndex); }