if (collision.gameObject.CompareTag("Player"))
{
Destroy(collision.gameObject);
}
if (GameObject.ReferenceEquals(collision.gameObject, targett))
{
Destroy(targett);
}
public override void OnRoomListUpdate(List<RoomInfo> roomList)
{
foreach (RoomInfo room in roomList)
{
Debug.Log(room.Name);
}
}