public static Mesh CreateMeshWithVertices(Vector3[] vertices, Vector2[] uv, int[] triangles) { Mesh mesh = UnityUtils.CreateMesh(); mesh.vertices = vertices; mesh.uv = uv; mesh.triangles = triangles; mesh.RecalculateNormals(); return(mesh); }
public unsafe static long $Invoke5(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(UnityUtils.CreateMesh())); }