gdl_123 2 周之前
父节点
当前提交
d79ecdccff
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      Build/BuildDependenceResource/Plugins/SDKBridge/X7_IOS/QSdkListener.cs

+ 3 - 4
Build/BuildDependenceResource/Plugins/SDKBridge/X7_IOS/QSdkListener.cs

@@ -1,12 +1,12 @@
 using UnityEngine;
 using System.Collections;
-#if UNITY_IOS
+
 namespace qsdk
 {
 
     public class QSdkListener : MonoBehaviour
     {
-
+#if UNITY_IOS
         private YouYiListener m_YouYiListener;
 
         public void InitListener(YouYiListener youYiListener)
@@ -92,7 +92,6 @@ namespace qsdk
             //购买失败回调
             m_YouYiListener.OnPayFailed();
         }
-       
+#endif
     }
 }
-#endif