Main/System/UIBase/UIBase.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/System/UIBase/UIBase.cs
@@ -109,7 +109,8 @@ // 保存原始值用于动画 if (_rectTransform != null) { originalPosition = _rectTransform.anchoredPosition; originalPosition = _rectTransform.anchoredPosition;; } ApplySettings(); @@ -244,6 +245,10 @@ // 根据动画类型播放打开动画 PlayOpenAnimation(); // // 如果后续需要统一处理刘海或者小游戏的界面适配问题 // _rectTransform.offsetMin = new Vector2(0, 10); //下方 // _rectTransform.offsetMax = new Vector2(0, -50); //上方 OnOpen();