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

IsModuleSupported() public method

See BaseInputModule.

public IsModuleSupported ( ) : bool
return bool
        public override bool IsModuleSupported()
        {
            return (this.forceModuleActive || base.input.touchSupported);
        }

Usage Example

コード例 #1
0
 static public int IsModuleSupported(IntPtr l)
 {
     try{
         UnityEngine.EventSystems.TouchInputModule self = (UnityEngine.EventSystems.TouchInputModule)checkSelf(l);
         System.Boolean ret = self.IsModuleSupported();
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
All Usage Examples Of UnityEngine.EventSystems.TouchInputModule::IsModuleSupported