Browse Source

修改报错

胡佳骏 1 year ago
parent
commit
7d303e06fe

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

@@ -32,7 +32,7 @@ namespace TriLibCore.Samples
             return false;
 #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;
             }