Here is one line:
var PlayerScript : Player ANIMATION;
Player ANIMATION is the name of my other script and I am getting the console error:
Assets/GunScript.js(2,26): UCE0001: ‘;’ expected. Insert a semicolon at the end.
I got rid of it by changing the script to:
var PlayerScript : PlayerAnimation;
I would like to know if this line of script should work fine?
(Sorry for being vague with details)
Secondly, I have this error:
Assets/GunScript.js(111,1): BCE0044: expecting }, found ‘’.
For this line of script on the same script;
FireTimer -= Time.deltatime * FireRate;
I am just following a tutorial so I am not sure why not and I am a newbie to Unity. I f you would like the whole script posted, I will but it is over 100 lines(gaps included).
Sorry if it should be two questions.
EDIT: Just noticed that when i cut that line of script the error was still there?
Thanks!