Ejemplo n.º 1
0
    public Vector3[] GetInnerVertices()
    {
        Vector3[] iC = HexMetrics.GetInnerCorners();

        Vector3[] rIC = new Vector3[iC.Length + 1];
        rIC[0] = transform.position;

        for (int i = 1; i < rIC.Length; i++)
        {
            rIC[i] = iC[i - 1] + transform.position;
        }
        return(rIC);
    }