FairyGUI.Stage.HandleEvents C# (CSharp) Method

HandleEvents() private method

private HandleEvents ( ) : void
return void
		void HandleEvents()
		{
			GetHitTarget();

			if (Input.GetKeyUp(KeyCode.LeftShift) || Input.GetKeyUp(KeyCode.RightShift))
				InputEvent.shiftDown = false;
			else if (Input.GetKeyDown(KeyCode.LeftShift) || Input.GetKeyDown(KeyCode.RightShift))
				InputEvent.shiftDown = true;

			UpdateTouchPosition();

			if (_customInput)
			{
				HandleCustomInput();
				_customInput = false;
			}
			else if (touchScreen)
				HandleTouchEvents();
			else
				HandleMouseEvents();

			if (_focused is InputTextField)
				HandleTextInput();
		}