error CS1513 AND CS1002

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: Using code tags properly

Remember: NOBODY memorizes error codes. The error code is absolutely the least useful part of the error. It serves no purpose at all.

The important parts of an error message are:

  • the description of the error itself
  • the file it occurred in
  • the line number and character position.

All of that information is in the actual error message and you must pay attention to it. Learn how to identify it instantly.

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

How to understand compiler and other errors and even fix them yourself: