C# 클래스 WorldBuilder, DoomRoom

상속: MonoBehaviour
파일 보기 프로젝트 열기: EddieCameron/DoomRoom 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
wallEndPrefab Transform
wallPrefabs Transform[]

공개 메소드들

메소드 설명
BuildWalls ( ) : void
CreateWall ( Cell, cellA, Direction, inDirection, int prefabID ) : void

Instantiates a wall between two cells.

CreateWallCap ( Cell, onCell, bool southEast ) : void

Creates a wall cap.

Start ( ) : void

메소드 상세

BuildWalls() 공개 메소드

public BuildWalls ( ) : void
리턴 void

CreateWall() 공개 메소드

Instantiates a wall between two cells.
public CreateWall ( Cell, cellA, Direction, inDirection, int prefabID ) : void
cellA Cell, /// Cell a. ///
inDirection Direction,
prefabID int
리턴 void

CreateWallCap() 공개 메소드

Creates a wall cap.
public CreateWallCap ( Cell, onCell, bool southEast ) : void
onCell Cell, /// On cell. ///
southEast bool /// Whether cap is on south east corner of cell or north west. ///
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

wallEndPrefab 공개적으로 프로퍼티

public Transform wallEndPrefab
리턴 Transform

wallPrefabs 공개적으로 프로퍼티

public Transform[] wallPrefabs
리턴 Transform[]