Property | Type | Description | |
---|---|---|---|
_areaSize | float | ||
_cellSize | float | ||
pathAffectingLayers | LayerMask | ||
wallDensity | float |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
GenLayout ( ) : void | ||
GetCellAt ( Vector3 pos ) : Cell, | ||
GetCellAt ( int x, int y ) : Cell, | ||
GetPathAffectingLayers ( ) : LayerMask | ||
OnDisable ( ) : void | ||
Start ( ) : void |
Method | Description | |
---|---|---|
AddCellToRoom ( Cell, newCell, int inRoom ) : bool |
Adds the cell to given room.
|
|
OpenCellInDirection ( Cell, toOpen, Direction, inDir ) : Cell, |
Opens the cell in direction.
|
|
PrintLayout ( ) : void | ||
RandomDirection ( ) : Direction, |
public static GetCellAt ( Vector3 pos ) : Cell, | ||
pos | Vector3 | |
return | Cell, |
public static GetCellAt ( int x, int y ) : Cell, | ||
x | int | |
y | int | |
return | Cell, |
public static GetPathAffectingLayers ( ) : LayerMask | ||
return | LayerMask |