Trying to use the Mesh class - running through some demo snippets, straight from that linked document.. But, even a copy and paste gets me errors like:
BCE0019 'vertices is not a member of 'Mesh' , 'normals' is not a member of 'Mesh'
The snippet from the doc is copy and pasted below:
function Update () {
var mesh : Mesh = GetComponent(MeshFilter).mesh;
var vertices : Vector3[] = mesh.vertices;
var normals : Vector3[] = mesh.normals;
for (var i = 0; i < vertices.Length; i++)
vertices += normals _* Mathf.Sin(Time.time);_
_*mesh.vertices = vertices;*_
_*}*_
_**_
Ah - well, I couldn't have guessed that from the error log - do you know if there's a good resource where I could look up the actual meaning of these cryptic error msg's?
– inaTo answer the question, I'm not aware of any error message list; most of them are explicit in saying exactly what the problem is. If you don't understand them then just ask here. :) There are some that wouldn't immediately make sense without somewhat in-depth knowledge of programming terminology.
– Eric5h5