Ejemplo n.º 1
0
            public override ProBuilderMesh Build(bool isPreview = false)
            {
                var positions = InternalUtility.StringToVector3Array(verts);

                if (positions.Length % 4 == 0)
                {
                    return(ProBuilderMesh.CreateInstanceWithPoints(
                               InternalUtility.StringToVector3Array(verts)
                               ));
                }

                return(ProBuilderMesh.Create());
            }