zhaoyang 2 年之前
父节点
当前提交
ddca7d8b15
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      GameClient/Assets/Game/HotUpdate/Views/Guide/GuideView.cs

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/Guide/GuideView.cs

@@ -152,6 +152,7 @@ namespace GFGGame
             if (guideTarget != null)
             {
                 Vector2 pos = guideTarget.LocalToGlobal(Vector2.zero);
+                pos = _ui.target.GlobalToLocal(pos);
                 pos.x = pos.x + guideTarget.width / 2;
                 pos.y = pos.y + guideTarget.height / 2;
                 if (_ui.m_mask.m_guideArea.xy == pos)