/* Touch */ public void OnTouch(int touchCount) { if (this.IsActivated()) { // Debug.Log(GetName() + " is activated"); if (thisIsEnabledInput) { // Debug.Log(GetName() + " is enabled"); IScroller scrollerToStartPauseMotorProcess = GetTargetUIEOrItsProximateParentAsScroller(this); if (scrollerToStartPauseMotorProcess != null) { scrollerToStartPauseMotorProcess.StopRunningMotorProcessRecursivelyUp(); } OnTouchImple(touchCount); } else { // Debug.Log(GetName() + " is disabled"); PassOnTouchUpward(touchCount); } } else { // Debug.Log(GetName() + " is deactivated"); PassOnTouchUpward(touchCount); } }