少年修仙传客户端代码仓库
client_Wu Xijin
2019-07-15 906d453b5770504bf3354d77eeb9fe18ba510382
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
1个文件已修改
15 ■■■■■ 已修改文件
Fight/GameActor/GActor.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GActor.cs
@@ -69,11 +69,11 @@
                m_Root.position = m_Pos;
            }
            // #if UNITY_EDITOR
            //             if (ClientDungeonStageUtility.isClientDungeon)
            //             if (this is GActorNpcFight)
            //             {
            //                 if (this is GA_NpcClientFightBoss)
            //                 if (ServerInstID == 4)
            //                 {
            //                     Debug.Log("坐标改变.....: " + value);
            //                     Debug.Log(ServerInstID + " => 坐标改变.....: " + value);
            //                 }
            //             }
            // #endif
@@ -581,12 +581,15 @@
            if (!MathUtility.IsSameDir(_vec1, _vec3) || _curPos == _next)
            {
                Pos = new Vector3(_curCorner.x, Pos.y, _curCorner.z);
                m_CornerIndex += 1;
                Pos += _detalMove;
                if (m_CornerIndex < m_Path.corners.Length - 1)
                {
                    m_CornerIndex += 1;
                }
            }
            else
            {
                Pos = new Vector3(_next.x, Pos.y, _next.z);
                Pos += _detalMove;
            }
            if (OnPathFinding != null)