C# Class RectangularHexGridGenerator

Inheritance: MonoBehaviour, ICellGridGenerator
Show file Open project: TheJP/GlobalGameJam2016

Public Properties

Property Type Description
CellsParent Transform
Height int
HexagonPrefab GameObject
Width int

Public Methods

Method Description
GenerateGrid ( ) : List
Start ( ) : void

Method Details

GenerateGrid() public method

public GenerateGrid ( ) : List
return List

Start() public method

public Start ( ) : void
return void

Property Details

CellsParent public property

public Transform CellsParent
return Transform

Height public property

public int Height
return int

HexagonPrefab public property

public GameObject HexagonPrefab
return GameObject

Width public property

public int Width
return int