【bug】【5831】iOS编队页面灵动岛/刘海适配失效

main
zhangaotian 2026-05-26 20:02:52 +08:00
parent 82a1c6f894
commit 27aaf46dcf
2 changed files with 12 additions and 1 deletions

View File

@ -6722,7 +6722,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
duration: 0.5
playOnEnable: 1
playOnEnable: 0
loop: 0
enableMove: 1
fromOffset: {x: -10, y: 0}

View File

@ -119,6 +119,17 @@ namespace NLD.UI
// ── 公开接口 ──────────────────────────────────────────────────
/// <summary>
/// 更新初始位置 安全区节点在awake之后更新
/// </summary>
public void UpdateBasePosition()
{
if (_rectTransform != null)
{
_basePosition = _rectTransform.anchoredPosition;
}
}
/// <summary>从头开始播放动画。</summary>
public void Play()
{