I am trying to convert a c# script to js and it gives me an error that doesn't make sense to me:
Vector2 bumpOffset = treadLeft.renderer.material.GetTextureOffset("_BumpMap");
this is the code; and this is the error:
";' expected. Insert a semicolon at the end.
Obviously the ";" is there so I should be doing something else but not sure what : )