コード例 #1
0
        /// <summary>
        /// Look for mouse input on every frame
        /// Don't change the order of the methods
        /// </summary>
        public void Tick()
        {
            _inputState.Reset();

            CheckAxes();
            CheckButtons();
        }
コード例 #2
0
        /// <summary>
        /// Look for mouse input on every frame
        /// Don't change the order of the methods
        /// </summary>
        public void Tick()
        {
            _inputState.Reset();

            CheckAxes();
            CheckButtons();
            SetMousePosition();

            CheckLeftMouseDown();
            CheckLeftMouseUp();
            CheckLeftMouseHold();

            CheckRightMouseDown();
            CheckRightMouseUp();
            CheckRightMouseHold();
        }