First off, let me say what a huge fan I am of Unity! It’s such a great tool.
My question - I am trying to combine a bunch of meshes together, but it seems like the compiler doesn’t recognize Mesh.CombineMeshes or CombineInstance:
var combineInstances : CombineInstance[];
// Pretend there's stuff here to initialize the CombineInstance array
var m : Mesh = new Mesh();
m.CombineMeshes(combineInstances,false,false);
The compiler errors I get are “The name ‘CombineInstance’ does not denote a valid type.” and “‘CombineMeshes’ is not a member of ‘UnityEngine.Mesh’”.
Is this something that’s only available on iPhone advanced, or am I doing something else wrong?
Thanks!
Leslie