So I´ve been working with unity this days for school and I have the coding for a spaceship to move only in certain space with the variables hori and vert like this:
var vert: float = 0
and
var hori: float = 0
but the program tells me its a semicolon instead of the colon i dont know why and also i use &&
and it says syntax error... someone please help me