监听玩家和NPC位置的部分代码

This commit is contained in:
huyulong 2024-11-29 15:41:49 +08:00
parent 9072256301
commit 9450947206

View File

@ -300,7 +300,7 @@ public class test : MonoBehaviour
case "hall.BroadcastMessage":
UserJoinResponse userJoinResponse = ProtoBufffer.DeSerialize<UserJoinResponse>(bytes);
Debug.Log("玩家昵称:" + userJoinResponse.NickName + ",房间:" + userJoinResponse.RoomId.ToString() + ",用户角色"+ userJoinResponse.RoleName);
Debug.Log(userJoinResponse.IncidentPosition);
break;
//