|
@@ -168,11 +168,11 @@ namespace GFGGame
|
|
|
_ui.m_comListAd.m_listAd.scrollPane.onScrollEnd.Add(OnListAdScrollEnd);
|
|
|
_ui.m_comListAd.m_listAd.scrollPane.decelerationRate = 0.8f;
|
|
|
|
|
|
- swipeGesture = new SwipeGesture(_ui.target);
|
|
|
- swipeGesture.onAction.Add(OnSwipe);
|
|
|
- swipeGesture.onBegin.Add(OnSwipeBegin);
|
|
|
- swipeGesture.onEnd.Add(OnSwipeEnd);
|
|
|
- swipeGesture.actionDistance = swipeDistance;
|
|
|
+ // swipeGesture = new SwipeGesture(_ui.target);
|
|
|
+ // swipeGesture.onAction.Add(OnSwipe);
|
|
|
+ // swipeGesture.onBegin.Add(OnSwipeBegin);
|
|
|
+ // swipeGesture.onEnd.Add(OnSwipeEnd);
|
|
|
+ // swipeGesture.actionDistance = swipeDistance;
|
|
|
_ui.m_list.ResizeToFit();
|
|
|
_ui.m_btnChange.target.onClick.Add(OnBtnChangClick);
|
|
|
_ui.m_btnChange.m_c1.selectedIndex = 1;
|
|
@@ -1094,24 +1094,24 @@ namespace GFGGame
|
|
|
GuideController.TryGuide(_ui.m_loaRight.target, ConstGuideId.ARENA_OPEN, 2, "新玩法-飞花令开启了哦", -1, false);
|
|
|
|
|
|
|
|
|
- bool isStudioMetalGuide = GuideController.TryGuide(null, ConstGuideId.STUDIO_PORCELAIN, 2, "向左滑动界面。", -1,
|
|
|
+ bool isStudioMetalGuide = GuideController.TryGuide(_ui.m_loaRight.target, ConstGuideId.STUDIO_PORCELAIN, 2, "进入副本", -1,
|
|
|
false, _ui.target.height - 700);
|
|
|
- bool isStudioFilingGuide = GuideController.TryGuide(null, ConstGuideId.STUDIO_FILING, 2, "向左滑动界面。", -1,
|
|
|
+ bool isStudioFilingGuide = GuideController.TryGuide(_ui.m_loaRight.target, ConstGuideId.STUDIO_FILING, 2, "进入副本", -1,
|
|
|
false, _ui.target.height - 700);
|
|
|
- bool isFieldGuide = GuideController.TryGuide(null, ConstGuideId.FIELD, 1, "向左滑动界面。", -1, false, _ui.target.height - 700);
|
|
|
+ bool isFieldGuide = GuideController.TryGuide(_ui.m_loaRight.target, ConstGuideId.FIELD, 1, "进入副本", -1, false, _ui.target.height - 700);
|
|
|
|
|
|
- bool isStudioPropertyGuide = GuideController.TryGuide(null, ConstGuideId.STUDIO_PROPERTY, 1, "向左滑动界面。", -1, false, _ui.target.height - 700);
|
|
|
+ bool isStudioPropertyGuide = GuideController.TryGuide(_ui.m_loaRight.target, ConstGuideId.STUDIO_PROPERTY, 1, "进入副本", -1, false, _ui.target.height - 700);
|
|
|
|
|
|
-
|
|
|
- if (isStudioMetalGuide || isStudioFilingGuide || isFieldGuide || isStudioPropertyGuide)
|
|
|
- {
|
|
|
- _ui.m_loaGuidestudio.visible = true;
|
|
|
- MainDataManager.Instance.CanSwipe = true;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- _ui.m_loaGuidestudio.visible = false;
|
|
|
- }
|
|
|
+ _ui.m_loaGuidestudio.visible = false;
|
|
|
+ // if (isStudioMetalGuide || isStudioFilingGuide || isFieldGuide || isStudioPropertyGuide)
|
|
|
+ // {
|
|
|
+ // _ui.m_loaGuidestudio.visible = true;
|
|
|
+ // MainDataManager.Instance.CanSwipe = true;
|
|
|
+ // }
|
|
|
+ // else
|
|
|
+ // {
|
|
|
+ // _ui.m_loaGuidestudio.visible = false;
|
|
|
+ // }
|
|
|
}
|
|
|
if (MainDataManager.Instance.ViewType == 1)
|
|
|
{
|