监听玩家和NPC位置的部分代码
This commit is contained in:
parent
9072256301
commit
9450947206
@ -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;
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user