$ 0 0 The code you gave is for UnityScript, not C#. Either change your file to be `.js` or change your code to conform to C# syntax.