|
|
@@ -58,14 +58,15 @@ namespace Fort23.Mono
|
|
|
{
|
|
|
Btn_ShuangBei.onClick.AddListener(async () =>
|
|
|
{
|
|
|
- bool relust = await TipsPanle.OpenPnael(10800);
|
|
|
- if (!relust)
|
|
|
- {
|
|
|
- return;
|
|
|
- }
|
|
|
-#if UNITY_ANDROID && !UNITY_EDITOR&& Taptap
|
|
|
+#if UNITY_ANDROID && !UNITY_EDITOR&& Ads
|
|
|
if (!PlayerManager.Instance.BagController.IsEnough(23001, 1))
|
|
|
{
|
|
|
+ bool relust = await TipsPanle.OpenPnael(10800);
|
|
|
+ if (!relust)
|
|
|
+ {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
if (TakuSDKManager.Instance.IsReady())
|
|
|
{
|
|
|
bool isOK = await TakuSDKManager.Instance.ShowAutoAd();
|
|
|
@@ -80,7 +81,6 @@ namespace Fort23.Mono
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
#endif
|
|
|
float beLv =
|
|
|
@@ -100,12 +100,7 @@ namespace Fort23.Mono
|
|
|
// UIManager.Instance.HideUIUIPanel<ShopGachaPanel>();
|
|
|
});
|
|
|
|
|
|
- Btn_LingQu.onClick.AddListener(async () =>
|
|
|
- {
|
|
|
- UIManager.Instance.HideUIUIPanel<ShopGachaPanel>();
|
|
|
-
|
|
|
-
|
|
|
- });
|
|
|
+ Btn_LingQu.onClick.AddListener(async () => { UIManager.Instance.HideUIUIPanel<ShopGachaPanel>(); });
|
|
|
}
|
|
|
|
|
|
public async override CTask<bool> AsyncInit(object[] uiData)
|