C# Class WorldBuilder, DoomRoom

Inheritance: MonoBehaviour
Afficher le fichier Open project: EddieCameron/DoomRoom Class Usage Examples

Méthodes publiques

Свойство Type Description
wallEndPrefab Transform
wallPrefabs Transform[]

Méthodes publiques

Méthode Description
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

Method Details

BuildWalls() public méthode

public BuildWalls ( ) : void
Résultat void

CreateWall() public méthode

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

CreateWallCap() public méthode

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. ///
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

wallEndPrefab public_oe property

public Transform wallEndPrefab
Résultat Transform

wallPrefabs public_oe property

public Transform[] wallPrefabs
Résultat Transform[]