1. You are referencing the script properly, but inside the inspector, you must add/drag the GameObject (using the CamBob script) into the bobscript (empty slot).
2. Make sure your spelling and casing is correct for your script. As [whebert][1] mentioned above, you must match the case exactly, so it's either: "CamBob.js" or "cambob.js" (basically whatever you named it).
[1]: http://answers.unity3d.com/users/99530/wyckhebert.html
↧