private IEnumerator Clicking() { while (true) { MovingEvents.TryMoving(directionButton); yield return(null); } }
public void OnPointerUp(PointerEventData eventData) { MovingEvents.StopMoving(); StopCoroutine(mCoroutine); }
private IEnumerator Clicking() { while (true) { MovingEvents.TryMoving(directionButton); yield return(null); } }
public void OnPointerUp(PointerEventData eventData) { MovingEvents.StopMoving(); StopCoroutine(mCoroutine); }