引导提示位置修改

main
yurui 2024-10-18 18:58:35 +08:00
parent db1b6ae944
commit 16160ae609
1 changed files with 4 additions and 1 deletions

View File

@ -521,6 +521,9 @@ public class UI_GuideController : UIWindow
break;
}
rtsTip.pivot = Vector2.one * 0.5f;
rtsTip.anchoredPosition = new Vector2(0f, 260f);
IsShowSlider = false;
IsScaleShow = true;
}
@ -541,7 +544,7 @@ public class UI_GuideController : UIWindow
textTip.text = CommonUtils.GetLocalizeText(E_LocalizePrefix.Guide, cfg.Id);
rtsTip.pivot = Vector2.one * 0.5f;
rtsTip.anchoredPosition = Vector2.zero;
rtsTip.anchoredPosition = new Vector2(0f, 260f);
rtsSliderArrowFinger.pivot = Vector2.zero;
DOTween.To(() => rtsSliderArrowFinger.pivot, x => rtsSliderArrowFinger.pivot = x, new Vector2(0, 1f), 2f).SetLoops(-1, LoopType.Restart);