Esempio n. 1
0
        public override bool IsMouseButtonDown(int button)
        {
            if (m_input.IsSuspended(m_localPlayerIndex))
            {
                return(false);
            }

            if (m_isKeyboardAndMouse || m_localPlayerIndex < 0)
            {
                return(Input.GetMouseButtonDown(button));
            }
            return(m_input.GetButtonDown(InputAction.LB, m_localPlayerIndex, false, false));
        }