public override bool WasButtonPressedInCurrentFrame(int buttonIndex) { int touchCount = TouchCount; if (buttonIndex >= touchCount || touchCount > MaxNumberOfTouches) { return(false); } return(RTInput.TouchBegan(buttonIndex)); }