|
Hi, I recently updated unity to v3.4 and I started getting errors in scripts. One of these errors is this: MissingFieldException: Field 'MouseLook.offsetY' not found. When I click it, it takes me to this code in gunscript.js: Any help please?
(comments are locked)
|
|
See if the information about script compilation work for you.
Basically, create a folder called "Standard Assets" and place your MouseLook.cs in there. If it still doesn't work, make sure MouseLook has "offsetY" and not "OffsetY" or something similar. Check the spelling...
(comments are locked)
|

Did you check if that function exists in your MouseLook script?
I cant find the function. And also noticed that the mouselook script is c# script and the gunscript is javascript. Is it normal? Anyway what should I do to eliminate this error?
Any answer????