public Subworld GetSubworld(int id) { if (WorldSubWorlds.TryGetValue(id, out Subworld sw)) { return(sw); } if (id == -1) { return(null); } Debug.LogError("Subworld with ID " + id + " not found"); return(null); }
public Subworld GetSubworld(int id) { if (WorldSubWorlds.TryGetValue(id, out Subworld sw)) { return(sw); } if (id == -1) { return(null); } Debug.LogError("Subworld with ID " + id + " not found"); return(null); }