void InnerTriangle(HexDirection direction, Vector3 center, out Vector3 v1, out Vector3 v2, out Color c1) { v1 = center + HexCellConf.GetFirstSolidCorner(direction); v2 = center + HexCellConf.GetSecondSolidCorner(direction); AddTriangle(center, v1, v2); c1 = HexCellConf.color1; AddTriangleColor(c1); }
void InnerTriangle(HexDirection direction, Vector3 center, out Vector3 v1, out Vector3 v2, out Color c1) { v1 = center + HexCellConf.GetFirstSolidCorner(direction); v2 = center + HexCellConf.GetSecondSolidCorner(direction); AddTriangle(center, v1, v2); c1 = HexCellConf.color1; AddTriangleColor(c1); AddTriangleTerrain(terrainTypeVector3); AddTriangleUV(Vector2.zero, Vector2.one, Vector2.one); }