BBGamelib.CCLayerBase.registerWithTouchDispatcher C# (CSharp) Method

registerWithTouchDispatcher() protected method

protected registerWithTouchDispatcher ( ) : void
return void
		protected virtual void registerWithTouchDispatcher()
		{
			CCDirector director = CCDirector.sharedDirector;
			
			if( _touchMode == kCCTouchesMode.AllAtOnce )
				director.touchDispatcher.addStandardDelegate(this, _touchPriority);
			else /* one by one */
				director.touchDispatcher.addTargetedDelegate(this, _touchPriority,_touchSwallow);
		}
		public virtual bool isTouchEnabled{