少年修仙传客户端代码仓库
hch
2025-06-12 ae4cde6009335ff38bfd64dff4ea3c1fdf40df7e
Fight/MapTransferUtility.cs
@@ -245,6 +245,7 @@
#if UNITY_EDITOR
        Debug.LogFormat("想要切换至目标npc: {0}", _npcID);
#endif
        Debug.LogFormat("想要切换至目标npc: {0}", _npcID);
        StopCoroutine("CoMoveToNPC");
        var _data = new MoveToData
        {
@@ -282,7 +283,7 @@
                yield break;
            }
        }
        Debug.LogFormat("111111111 想要切换至目标npc: {0}", NpcID);
        // 判断是否能够得到到达指定点
        // 获取NPC位置数据
        GAStaticDefine.NPCLocation _npcLocation;
@@ -299,7 +300,7 @@
            if (_npc != null)
            {
                _destPostion = _npc.Pos;
                Debug.LogFormat("222222222 想要切换至目标npc: {0}", _destPostion);
                NpcID = NpcID;
                MapTransferDoType = E_MapTransferDoType.Npc;