End Of Line
Help, Error: Says " Expected EOF (end of line) but found WheelFR. What do I do? Error: line 2 char 6
pragma strict
vr ; WheelFR : WheelColliders;
3 . vr ; WheelFL : WheelColliders;
4 . vr ; WheelRL : WheelColliders;
vr ; WheelRR : WheelColliders;
Answer by Zoogyburger · Mar 07, 2016 at 04:05 AM
A semicolon ( ; ) means the end of the statement. If I made a script saying
function OnTriggerEnter (other : Collider) {
Destroy;
(other.gameObject);
)
the program would wonder why I ended my line after Destroy without using it properly. In your script you have a semicolon right after vr which I think (I don't know very much javascript ) might not belong there.
i put it there because it said there was also an error that required me to do that but if i do it creates this problem @Zoogyburger
@$$anonymous$$r.Apollo I think it's actually supposed to be like this
var WheelFR : UnityEngine.WheelCollider;