C# Class GridGenerator, WoofVsMeow

Mostrar archivo Open project: HaoYuan90/WoofVsMeow Class Usage Examples

Public Properties

Property Type Description
m_gridNumHor int
m_gridNumVer int
m_hexBlueMaskMat Material
m_hexDarkRedMaskMat Material
m_hexGreenMaskMat Material
m_hexMaskPrefab GameObject
m_hexOutlineMaskMat Material
m_hexPrefab GameObject
m_hexRedMaskMat Material
m_maskActive bool
m_treePrefab GameObject

Public Methods

Method Description
CreateGridMap ( ) : void
GetGridData ( ) : List>
RunTests ( ) : void
ToggleMask ( ) : void
UpdateGridMap ( ) : void
Xmirror ( ) : void
Ymirror ( ) : void

Private Methods

Method Description
CalcInitPos ( ) : void
CalcWorldCoord ( int gridX, int gridY ) : Vector3
CreateGrids ( ) : void
GetGridSize ( ) : void
InitDebugStates ( ) : void
InitList ( ) : void
PlantTrees ( GameObject grid ) : void
TestListSerielisation ( ) : void
TestReferenceSerielisation ( ) : void

Method Details

CreateGridMap() public method

public CreateGridMap ( ) : void
return void

GetGridData() public method

public GetGridData ( ) : List>
return List>

RunTests() public method

public RunTests ( ) : void
return void

ToggleMask() public method

public ToggleMask ( ) : void
return void

UpdateGridMap() public method

public UpdateGridMap ( ) : void
return void

Xmirror() public method

public Xmirror ( ) : void
return void

Ymirror() public method

public Ymirror ( ) : void
return void

Property Details

m_gridNumHor public_oe property

public int m_gridNumHor
return int

m_gridNumVer public_oe property

public int m_gridNumVer
return int

m_hexBlueMaskMat public_oe property

public Material m_hexBlueMaskMat
return Material

m_hexDarkRedMaskMat public_oe property

public Material m_hexDarkRedMaskMat
return Material

m_hexGreenMaskMat public_oe property

public Material m_hexGreenMaskMat
return Material

m_hexMaskPrefab public_oe property

public GameObject m_hexMaskPrefab
return GameObject

m_hexOutlineMaskMat public_oe property

public Material m_hexOutlineMaskMat
return Material

m_hexPrefab public_oe property

public GameObject m_hexPrefab
return GameObject

m_hexRedMaskMat public_oe property

public Material m_hexRedMaskMat
return Material

m_maskActive public_oe property

public bool m_maskActive
return bool

m_treePrefab public_oe property

public GameObject m_treePrefab
return GameObject