GetHumanReadableNameForMap() public static method

returns the human-readable alias for the given map. if no alias has been defined, it just returns the map class name
public static GetHumanReadableNameForMap ( string mapClassName ) : string
mapClassName string
return string
Esempio n. 1
0
 private void updateMapList(string gameModeName)
 {
     mapList = GameModeManager.GetSupportedMapsForGameMode(gameModeName).ToArray();
     humanReadableMapList = mapList.Select(s => GameModeManager.GetHumanReadableNameForMap(s)).ToArray();
     selectedMap          = 0;
 }