修复引导选择角色跳过引导时失败的bug

main
yurui 2024-10-21 14:48:38 +08:00
parent 51902dce6a
commit 1daebb8190
2 changed files with 2 additions and 2 deletions

View File

@ -263,8 +263,7 @@ namespace Gameplay.Guide
null != curGroup &&
curGroup.CurStep.Cfg.Id <= pvGuideID) // 特殊处理 播放过pv视频则不播放没播放过则播放
{
UIManager.Instance.CloseWindow(UINameConst.UI_Guide, UIWindowCloseType.HideAndPush);
UIManager.Instance.CloseWindow(UINameConst.UI_GuideTip, UIWindowCloseType.HideAndPush);
EndGuide(false);
await UI_PVAnimaPlayController.Open("Assets/Video/LevelIntro/LevelIntro_PV.mp4", () => { EndGuide(true); });
}
else

View File

@ -547,6 +547,7 @@ public class UI_GuideController : UIWindow
rtsTip.anchoredPosition = new Vector2(0f, 260f);
rtsSliderArrowFinger.pivot = Vector2.zero;
DOTween.Clear();
DOTween.To(() => rtsSliderArrowFinger.pivot, x => rtsSliderArrowFinger.pivot = x, new Vector2(0, 1f), 2f).SetLoops(-1, LoopType.Restart);
IsShowSlider = true;