C# 클래스 level_generator, 1gam-dungeon

상속: MonoBehaviour
파일 보기 프로젝트 열기: OneGameAMonth/1gam-dungeon

공개 프로퍼티들

프로퍼티 타입 설명
door_prefab GameObject
key_prefab GameObject
level_root GameObject
level_size int
player_prefab GameObject
random_spawns GameObject[]
teleporter_prefab GameObject
tile_types TileTypeCollection[]

공개 메소드들

메소드 설명
Start ( ) : void
Update ( ) : void
_connected_step ( int i, int end_index ) : void
_create_way ( Room, r1, Room, r2 ) : void

비공개 메소드들

메소드 설명
_connected ( int start_index, int end_index ) : bool
_select_tile_prefab ( GameObject prefab_type_array, float p ) : GameObject
index ( int x, int y ) : int
index ( int x, int y, int h ) : int

메소드 상세

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

_connected_step() 공개 메소드

public _connected_step ( int i, int end_index ) : void
i int
end_index int
리턴 void

_create_way() 공개 메소드

public _create_way ( Room, r1, Room, r2 ) : void
r1 Room,
r2 Room,
리턴 void

프로퍼티 상세

door_prefab 공개적으로 프로퍼티

public GameObject door_prefab
리턴 GameObject

key_prefab 공개적으로 프로퍼티

public GameObject key_prefab
리턴 GameObject

level_root 공개적으로 프로퍼티

public GameObject level_root
리턴 GameObject

level_size 공개적으로 프로퍼티

public int level_size
리턴 int

player_prefab 공개적으로 프로퍼티

public GameObject player_prefab
리턴 GameObject

random_spawns 공개적으로 프로퍼티

public GameObject[] random_spawns
리턴 GameObject[]

teleporter_prefab 공개적으로 프로퍼티

public GameObject teleporter_prefab
리턴 GameObject

tile_types 공개적으로 프로퍼티

public TileTypeCollection[] tile_types
리턴 TileTypeCollection[]