BBGamelib.CCScrollLayer.ccTouchBegan C# (CSharp) Method

ccTouchBegan() public method

public ccTouchBegan ( UITouch touch ) : bool
touch UITouch
return bool
		public override bool ccTouchBegan (UITouch touch)
		{
			if (isMoving_)
				return false;
			if( scrollTouch_ == null ) {
				scrollTouch_ = touch;
			} else {
				return false;
			}
			
			Vector2 touchPoint = this.convertTouchToNodeSpace (touch);
			touchPoint = this.convertToWorldSpace (touchPoint);
			
			startSwipe_ = touchPoint.x;
			state_ = kCCScrollLayerState.Idle;
			return true;
		}
		public override void ccTouchMoved (UITouch touch)