|
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!
(comments are locked)
|
|
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. Thanks Michael!! I just figured it out. It seems I had a few extra lines in there. Removed those and then it worked.
Mar 12 '10 at 12:59 AM
Stan
Not a problem. If you liked the answer, please vote it up and mark it as correct.
Mar 12 '10 at 01:25 AM
Michael La Voie
(comments are locked)
|
