C# Класс Tools.TownGenerator.TownGeneratorWindow

UI wrapper around the TownGenerator
Наследование: EditorWindow
Показать файл Открыть проект

Открытые методы

Метод Описание
Initialize ( ) : void

Initialize base settings

LoadSettings ( ) : void
SaveSettings ( ) : void

Save the current settings as the specified file format

Приватные методы

Метод Описание
AddOrRemoveZoneType ( ) : void

Add or delete a new district type

CitySettings ( ) : void

select prefabs for a specific zone

CreatePrefabSelection ( string type ) : DistrictEditor

Create a new district zone

ExtensionByType ( ExportSettingType type ) : string
GenerationButtons ( ) : void

The buttons for generating, building and resetting

GenerationSettings ( ) : void

Adjust settings that generate the voronoi diagram

GetSettingsFromPreset ( CityType cityType ) : GenerationSettings

Define preset settings based on a type

ImportExportSettings ( ) : void

Save /Load Settings from a file

Init ( ) : void
LoadFromXml ( string filename ) : void
MakeDistrictSettings ( ) : List
MakePrefabList ( ) : List>.Dictionary

returns a look up map that contains all the prefabs per district

OnGUI ( ) : void

Drawing

SaveAsXml ( string filename ) : void

Описание методов

Initialize() публичный Метод

Initialize base settings
public Initialize ( ) : void
Результат void

LoadSettings() публичный Метод

public LoadSettings ( ) : void
Результат void

SaveSettings() публичный Метод

Save the current settings as the specified file format
public SaveSettings ( ) : void
Результат void