public virtual void Init() { BuildBoard(); foreach (GameHex gHex in Hexes) { gHex.SetColourInner(BoardColourPallet.Inner(ColorPallet)); gHex.SetColourOuter(BoardColourPallet.Outer(ColorPallet)); } }
void HighlightGameHexes(List <GameHex> highlightHexes) { foreach (GameHex gHex in Hexes) { Material mat = highlightHexes.Contains(gHex) ? BoardColourPallet.OuterHighlight(ColorPallet) : BoardColourPallet.Outer(ColorPallet); gHex.SetColourOuter(mat); } }