C# Class GridGenerator, WoofVsMeow

Afficher le fichier Open project: HaoYuan90/WoofVsMeow Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode Description
CreateGridMap ( ) : void
GetGridData ( ) : List>
RunTests ( ) : void
ToggleMask ( ) : void
UpdateGridMap ( ) : void
Xmirror ( ) : void
Ymirror ( ) : void

Private Methods

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

public CreateGridMap ( ) : void
Résultat void

GetGridData() public méthode

public GetGridData ( ) : List>
Résultat List>

RunTests() public méthode

public RunTests ( ) : void
Résultat void

ToggleMask() public méthode

public ToggleMask ( ) : void
Résultat void

UpdateGridMap() public méthode

public UpdateGridMap ( ) : void
Résultat void

Xmirror() public méthode

public Xmirror ( ) : void
Résultat void

Ymirror() public méthode

public Ymirror ( ) : void
Résultat void

Property Details

m_gridNumHor public_oe property

public int m_gridNumHor
Résultat int

m_gridNumVer public_oe property

public int m_gridNumVer
Résultat int

m_hexBlueMaskMat public_oe property

public Material m_hexBlueMaskMat
Résultat Material

m_hexDarkRedMaskMat public_oe property

public Material m_hexDarkRedMaskMat
Résultat Material

m_hexGreenMaskMat public_oe property

public Material m_hexGreenMaskMat
Résultat Material

m_hexMaskPrefab public_oe property

public GameObject m_hexMaskPrefab
Résultat GameObject

m_hexOutlineMaskMat public_oe property

public Material m_hexOutlineMaskMat
Résultat Material

m_hexPrefab public_oe property

public GameObject m_hexPrefab
Résultat GameObject

m_hexRedMaskMat public_oe property

public Material m_hexRedMaskMat
Résultat Material

m_maskActive public_oe property

public bool m_maskActive
Résultat bool

m_treePrefab public_oe property

public GameObject m_treePrefab
Résultat GameObject