End Of Line

Help, Error: Says " Expected EOF (end of line) but found WheelFR. What do I do? Error: line 2 char 6

  1. #pragma strict
  2. vr ; WheelFR : WheelColliders;

3 . vr ; WheelFL : WheelColliders;

4 . vr ; WheelRL : WheelColliders;

  1. vr ; WheelRR : WheelColliders;

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.

@Zoogyburger thank you that works