PDFに記載されていたサンプルコードを貼り付けたら以下の様な警告が表示されました。
There are inconsistent line endings in the 'Assets/NewBehaviourScript 1.js' script. Some are Mac OS X (UNIX) and some are Windows.
This might lead to incorrect line numbers in stacktraces and compiler errors. Unitron and other text editors can fix this using Convert Line Endings menu commands.