im trying to make a 3d looking script and im getting an error from line 8-12. any suggestions would be great
5367594–543045–MouseLook.cs (606 Bytes)
im trying to make a 3d looking script and im getting an error from line 8-12. any suggestions would be great
5367594–543045–MouseLook.cs (606 Bytes)
Post your error.
And generally people prefer you post your code using code tags.
Capitalization is very important to avoid errors. It looks like there are a few places you need to fix your capitalization.
Line 8: “public” must be all lower-case
Line 10: “Transform” must start with an upper-case
Line 21: “float” must be all lower-case
Line 20 & 21: “Time.deltaTime” must use upper-case Ts for Time
Line 20 & 23: You use “MouseX” and “mouseX”… change one of them so they both have the same capitalization