Exemplo n.º 1
0
        public static MeshFilter Create2D(this MeshFilter self, Vector2[] points)
        {
            var tmp = new Vector3[points.Length];

            for (int i = 0; i < points.Length; i++)
            {
                tmp[i] = points[i];
            }
            return(self.Create2D(tmp));
        }