BBGamelib.CCLayer.onExit C# (CSharp) Method

onExit() public method

public onExit ( ) : void
return void
		public override void onExit ()
		{
			CCEventDispatcher eventDispatcher = CCDirectorMac.sharedDirector.eventDispatcher;
			if( _mouseEnabled )
				eventDispatcher.removeMouseDelegate(this);
			
			if( _keyboardEnabled )
				eventDispatcher.removeKeyboardDelegate(this);
			base.onExit ();
		}