胡佳骏 преди 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;
 #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;
             }