|
@@ -151,8 +151,7 @@ namespace GFGGame
|
|
|
{
|
|
|
if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0
|
|
|
&& StoryDataManager.currentLevel == 4
|
|
|
- && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)
|
|
|
- && DressUpMenuItemDataManager.GetRecommendCount() >= 2)
|
|
|
+ && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel))
|
|
|
{
|
|
|
ShowGuide(target, false, "点击购买");
|
|
|
}
|
|
@@ -162,8 +161,7 @@ namespace GFGGame
|
|
|
{
|
|
|
if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0
|
|
|
&& StoryDataManager.currentLevel == 4
|
|
|
- && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)
|
|
|
- && DressUpMenuItemDataManager.GetRecommendCount() >= 2)
|
|
|
+ && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel))
|
|
|
{
|
|
|
ShowGuide(target, false, "点击返回,继续搭配衣服");
|
|
|
}
|
|
@@ -173,8 +171,7 @@ namespace GFGGame
|
|
|
{
|
|
|
if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0
|
|
|
&& StoryDataManager.currentLevel == 4
|
|
|
- && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)
|
|
|
- && DressUpMenuItemDataManager.GetRecommendCount() >= 2)
|
|
|
+ && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel))
|
|
|
{
|
|
|
int len = _list.numChildren;
|
|
|
for (int i = 0; i < len; i++)
|
|
@@ -211,19 +208,42 @@ namespace GFGGame
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- // public static void TryGuideDressUpFightViewMenuPart(GList list)
|
|
|
- // {
|
|
|
- // if (list.numChildren > 0)
|
|
|
- // {
|
|
|
- // UI_PartsListItem listItem = UI_PartsListItem.Proxy(list.GetChildAt(0));
|
|
|
- // if (listItem != null)
|
|
|
- // {
|
|
|
- // ShowGuide(listItem.target, true, "点击");
|
|
|
- // return;
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
|
|
|
+ /***************************************************点击查看关卡提示***************************************************/
|
|
|
+ public static void TryGuideDressUpFightViewBtnHint(GObject target)
|
|
|
+ {
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.SEE_DRESS_TIPS) <= 0
|
|
|
+ && StoryDataManager.currentLevel == 6
|
|
|
+ && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel))
|
|
|
+ {
|
|
|
+ GuideDataManager.currentGuideId = ConstGuideId.SEE_DRESS_TIPS;
|
|
|
+ ShowGuide(target, false, "点击查看过关提示");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /******************************************************双人对战评分************************************************/
|
|
|
+
|
|
|
+ public static void TryGuideStoryFightTargetScoreComCircle(GObject target, float devWidth, float devHeight)
|
|
|
+ {
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.TARGET_FIGHT_GUIDE) <= 0
|
|
|
+ && StoryDataManager.currentLevel == 6
|
|
|
+ && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel))
|
|
|
+ {
|
|
|
+ GuideDataManager.currentGuideId = ConstGuideId.TARGET_FIGHT_GUIDE;
|
|
|
+ ShowGuide(target, false, "双人对战部件评分会显示在这里", 0, devWidth, devHeight);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ public static void TryGuideStoryFightTargetScorebtnSkill0(GObject target)
|
|
|
+ {
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.TARGET_FIGHT_GUIDE) <= 0
|
|
|
+ && StoryDataManager.currentLevel == 6
|
|
|
+ && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel))
|
|
|
+ {
|
|
|
+ ShowGuide(target, false, "点击使用技能");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /******************************************************************************************************/
|
|
|
|
|
|
public static bool TryGuideDressUpViewMenuType1(GList list)
|
|
|
{
|
|
@@ -265,7 +285,6 @@ namespace GFGGame
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- /**************************************************引导购买必需品****************************************************/
|
|
|
|
|
|
|
|
|
/*******************************************************************************************************************/
|
|
@@ -299,14 +318,14 @@ namespace GFGGame
|
|
|
ViewManager.Hide(ViewName.GUIDE_VIEW);
|
|
|
}
|
|
|
|
|
|
- private static void ShowGuide(GObject target, bool needUpdate = false, string guideStr = null, int yTxt = 0)
|
|
|
+ private static void ShowGuide(GObject target, bool needUpdate = false, string guideStr = null, int yTxt = 0, float devWidth = 0, float devHeight = 0)
|
|
|
{
|
|
|
HideGuide();
|
|
|
if (GameGlobal.skipGuide)
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
- ViewManager.Show(ViewName.GUIDE_VIEW, new List<object> { target, needUpdate, guideStr, yTxt });
|
|
|
+ ViewManager.Show(ViewName.GUIDE_VIEW, new List<object> { target, needUpdate, guideStr, yTxt, devWidth, devHeight });
|
|
|
}
|
|
|
}
|
|
|
}
|