Hey All, Very new to Unity. Maya, Cinama4D, everything 3d, I'm a pro. But scripting I suck. Programming? I wont even go there. That being said, I'm trying to make a very simple car game for iPhone. I'm using the NumberRacer project as a template. Using the scripts basically. So, I import all of my scene data from Maya. Cool. No problem. Then I try and attach a script and I get "Can't add script behaviour JCar. You need to fix all compile errors in all scripts first!" I seriously have no idea what to do here! Any suggestions? Thanks!
What script are you trying to attach? Unity inspects all your scripts before you add them and again every time you make a change to them to ensure that you haven't made a mistake.
There is likely a bug in the script that is upsetting Unity.
A simple way to test this would be to comment out as much unnecessary code as possible. If you post your script, I'm sure someone could help you find the bug.
answered Mar 12 '10 at 12:49 AM
Michael La Voie