diff --git a/xiaofang/Assets/ProtoBuf/test.cs b/xiaofang/Assets/ProtoBuf/test.cs index 226a0449..02becf74 100644 --- a/xiaofang/Assets/ProtoBuf/test.cs +++ b/xiaofang/Assets/ProtoBuf/test.cs @@ -539,9 +539,9 @@ public class test : MonoBehaviour break; case "move.Location": - Debug.Log("move.Location½ÓÊܵ½ÁË"); + //Debug.Log("move.Location½ÓÊܵ½ÁË"); NpcData npcData = ProtoBufffer.DeSerialize(bytes); - Debug.Log(npcData); + //Debug.Log(npcData); if(npcData.Type == 1)//npc´´½¨ { float x = -float.Parse(npcData.X.ToString()); diff --git a/xiaofang/Assets/Script/npc/RecuseNpc.cs b/xiaofang/Assets/Script/npc/RecuseNpc.cs index 95bca509..5524796e 100644 --- a/xiaofang/Assets/Script/npc/RecuseNpc.cs +++ b/xiaofang/Assets/Script/npc/RecuseNpc.cs @@ -86,6 +86,7 @@ public class RecuseNpc : MonoBehaviour //添加npc的目的地到list中 public void SetNpcDes(Vector3 tar) { + Debug.Log(tar); //target.position = tar; NavMeshHit hit; if (!NavMesh.SamplePosition(tar, out hit, 1.0f, NavMesh.AllAreas))