| | |
| | | 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
|
| | |
| | |
|
| | | 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)
|