UnityEngine.EventSystems.SwitchStandaloneInputModule.IsModuleSupported C# (CSharp) Method

IsModuleSupported() public method

public IsModuleSupported ( ) : bool
return bool
        public override bool IsModuleSupported()
        {
            // Check for mouse presence instead of whether touch is supported,
            // as you can connect mouse to a tablet and in that case we'd want
            // to use StandaloneInputModule for non-touch input events.
            return m_ForceModuleActive || Input.mousePresent;
        }