C# 클래스 Tools.TownGenerator.TownGeneratorWindow

UI wrapper around the TownGenerator
상속: EditorWindow
파일 보기 프로젝트 열기: TobieD/City-Generator

공개 메소드들

메소드 설명
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