i just downloaded an asset from the asset store. it is a tutorial with scripts already written. i get an error say:
error CS1061: Type
UnityEngine.Mesh' does not contain a definition for GetTriangleStrip’ and no extension method
GetTriangleStrip' of type UnityEngine.Mesh’ could be found (are you missing a using directive or an assembly reference?)
the line of code is:
int curStripCount = combine.mesh.GetTriangleStrip(combine.subMeshIndex).Length;
I also think that Length at the end will cause an error too.
How do i fix that error? does anyone have suggestions?