BBGamelib.CCLayer.onEnter C# (CSharp) Method

onEnter() public method

public onEnter ( ) : void
return void
		public override void onEnter ()
		{
			base.onEnter ();
			CCEventDispatcher eventDispatcher = CCDirectorMac.sharedDirector.eventDispatcher;
			
			if( _mouseEnabled )
				eventDispatcher.addMouseDelegate(this, _mousePriority);
			
			if( _keyboardEnabled)
				eventDispatcher.addKeyboardDelegate(this, _keyboardPriority);
		}