public void OnSocketPlayer(SocketIOEvent ev) { //this will get other player locations //we need to add these to our map PlayerData data = PlayerData.FromJSONObject(ev.data); Vector2Int position = new Vector2Int(data.x, data.y); map.AddPlayerIcon(data.playerId, position); }