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