|
@@ -65,10 +65,10 @@ namespace GFGGame
|
|
private static GList targetList = null;
|
|
private static GList targetList = null;
|
|
public static bool TryGuide(GComponent target, string guideKey, int index, string guideStr = null, int listIndex = -1, bool checkPriorIndex = true, float yTxt = 0, bool justHint = false)
|
|
public static bool TryGuide(GComponent target, string guideKey, int index, string guideStr = null, int listIndex = -1, bool checkPriorIndex = true, float yTxt = 0, bool justHint = false)
|
|
{
|
|
{
|
|
- // if (ViewManager.isViewOpen(typeof(RoleLvUpView).Name)) return false;
|
|
|
|
|
|
+
|
|
GuideCfg cfg = GuideCfgArray.Instance.GetCfg(guideKey);
|
|
GuideCfg cfg = GuideCfgArray.Instance.GetCfg(guideKey);
|
|
if (GuideDataManager.currentGuideId != 0 && GuideDataManager.currentGuideId != cfg.id) return false;
|
|
if (GuideDataManager.currentGuideId != 0 && GuideDataManager.currentGuideId != cfg.id) return false;
|
|
-
|
|
|
|
|
|
+ GRoot.inst.touchable = false;
|
|
bool isStoryLevelGuide = cfg.storyLevelId > 0;
|
|
bool isStoryLevelGuide = cfg.storyLevelId > 0;
|
|
bool isFinishCurId = StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_GUIDE + cfg.id) > 0;//当前引导未完成
|
|
bool isFinishCurId = StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_GUIDE + cfg.id) > 0;//当前引导未完成
|
|
bool isFinishPriorId = cfg.priorId <= 0 || StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_GUIDE + cfg.priorId) > 0;//前置引导已完成
|
|
bool isFinishPriorId = cfg.priorId <= 0 || StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_GUIDE + cfg.priorId) > 0;//前置引导已完成
|
|
@@ -114,7 +114,7 @@ namespace GFGGame
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- // GRoot.inst.touchable = true;
|
|
|
|
|
|
+ GRoot.inst.touchable = true;
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -128,7 +128,7 @@ namespace GFGGame
|
|
}
|
|
}
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
- // GRoot.inst.touchable = true;
|
|
|
|
|
|
+ GRoot.inst.touchable = true;
|
|
MainDataManager.Instance.CanSwipe = true;
|
|
MainDataManager.Instance.CanSwipe = true;
|
|
|
|
|
|
return false;
|
|
return false;
|