public void OnPointerExit(PointerEventData eventData) { MobileInputManager.SetAxis(axis, 0); image.color = disabledColor; image.sprite = pressedSprite; }
public void OnPointerEnter(PointerEventData eventData) { MobileInputManager.SetAxis(axis, axisValue); image.color = enabledColor; image.sprite = normalSprite; }