pc打包错误

This commit is contained in:
Caiyanpeng committed 2021-10-09 15:05:41 +08:00
1 parent f1ddde8a2e
commit 55d7304de1
1 file changed
+2
+2
View File
@@ -56,7 +56,9 @@ public class TKLTouch
public void populate() public void populate()
{ {
#if UNITY_EDITOR || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_WEBPLAYER || UNITY_WEBGL #if UNITY_EDITOR || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_WEBPLAYER || UNITY_WEBGL
#if UNITY_EDITOR
if (!UnityEditor.EditorApplication.isRemoteConnected) if (!UnityEditor.EditorApplication.isRemoteConnected)
#endif
populateFromMouse(); populateFromMouse();
#else #else
populateWithTouch( Input.touches[0] ); populateWithTouch( Input.touches[0] );