// Use this for initialization void Awake() { Positions = GetComponent<GridPositionElements>(); SizeX = GlobalSettings.Instance.gameRuleSettings.Board.Width; SizeZ = GlobalSettings.Instance.gameRuleSettings.Board.Height; BuildTexture(); BuildMesh(); }
public GameEndPercentageControlled(GridPositionElements gridPositionElements) { GridPositionElements = gridPositionElements; }
public void Start() { HexBoard = GetComponent<HexBoard>(); Positions = GetComponent<GridPositionElements>(); }