瀏覽代碼

修改报错

胡佳骏 1 年之前
父節點
當前提交
7d303e06fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Samples~/trilibSDK/TriLib/TriLibSamples/Common/Scripts/AbstractInputSystem.cs

+ 1 - 1
Samples~/trilibSDK/TriLib/TriLibSamples/Common/Scripts/AbstractInputSystem.cs

@@ -32,7 +32,7 @@ namespace TriLibCore.Samples
             return false;
             return false;
 #else
 #else
 
 
-            if (SystemInfo.deviceType == DeviceType.Handheld && Input.touchSupported && Input.touchCount > 1 && index == 2)
+            if (SystemInfo.deviceType == UnityEngine.DeviceType.Handheld && Input.touchSupported && Input.touchCount > 1 && index == 2)
             {
             {
                 return true;
                 return true;
             }
             }