|
@@ -7,6 +7,7 @@ using System.Linq;
|
|
using Assets.Game.HotUpdate.Data;
|
|
using Assets.Game.HotUpdate.Data;
|
|
using System.Collections;
|
|
using System.Collections;
|
|
using System;
|
|
using System;
|
|
|
|
+using System.Globalization;
|
|
using GFGGame.Launcher;
|
|
using GFGGame.Launcher;
|
|
using YooAsset;
|
|
using YooAsset;
|
|
|
|
|
|
@@ -564,6 +565,14 @@ namespace GFGGame
|
|
{
|
|
{
|
|
#if PT_DouYouTap
|
|
#if PT_DouYouTap
|
|
QDDouYouManager.Instance.JumpInfo();
|
|
QDDouYouManager.Instance.JumpInfo();
|
|
|
|
+#elif PT_IosLocal
|
|
|
|
+ double number = double.Parse(LauncherConfig.apkVersion, CultureInfo.InvariantCulture);
|
|
|
|
+ Log.Debug($"一个测试:{number}");
|
|
|
|
+ if (number > 2.2)
|
|
|
|
+ {
|
|
|
|
+ Log.Debug($"一个测试dd:{number}");
|
|
|
|
+ QDDouYouManagerIos.Instance.Share();
|
|
|
|
+ }
|
|
#else
|
|
#else
|
|
_ui.m_btnTapTapJump.target.visible = false;
|
|
_ui.m_btnTapTapJump.target.visible = false;
|
|
#endif
|
|
#endif
|
|
@@ -852,14 +861,15 @@ namespace GFGGame
|
|
#else
|
|
#else
|
|
_ui.m_btnTapTapJump.target.visible = false;
|
|
_ui.m_btnTapTapJump.target.visible = false;
|
|
#endif
|
|
#endif
|
|
- if (RoleDataManager.roleId == 2415787660850823168)
|
|
|
|
|
|
+ //是否是IOS,并且要验证版本
|
|
|
|
+#if PT_IosLocal
|
|
|
|
+ double number = double.Parse(LauncherConfig.apkVersion, CultureInfo.InvariantCulture);
|
|
|
|
+ if (number > 2.2)
|
|
{
|
|
{
|
|
- _ui.m_btnTapTapJump.target.visible = true;
|
|
|
|
- }
|
|
|
|
- else
|
|
|
|
- {
|
|
|
|
- _ui.m_btnTapTapJump.target.visible = false;
|
|
|
|
|
|
+ _ui.m_btnTapTapJump.target.visible = true;
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
+
|
|
_ui.m_btnGiftBag1.target.visible = false;//ActivityDataManager.Instance.CheckPearRebateTips(6002);
|
|
_ui.m_btnGiftBag1.target.visible = false;//ActivityDataManager.Instance.CheckPearRebateTips(6002);
|
|
var activityInfo = ActivityGlobalDataManager.Instance.GetActivityInfo(6002);
|
|
var activityInfo = ActivityGlobalDataManager.Instance.GetActivityInfo(6002);
|
|
long endTime = 0;
|
|
long endTime = 0;
|