|
i am currently working in a first person game and i am attempting to script a shooting ability in Java script however an error with the code keeps appearing that i do not understand also not that i am only just starting in unity as well as coding. here is the error : Assets/ShootScript.Js9(3,4): BVE0043: Unexpected Token: .. here is the actual script:
(comments are locked)
|
|
It's ,without the dot between them. That code is not complete, by the way. There are not closed brackets.
(comments are locked)
|
|
thank you both of you your help is appreciated.
(comments are locked)
|
|
You can get the solution by removing the dot or else var prefabBullet =Transform EDIT: removed advertising
(comments are locked)
|

