UnityScript error in Visual Studio
<p><a href="https://i.stack.imgur.com/qECJz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qECJz.png" alt="Image"></a></p>

<p>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: </p>

<pre><code>var vert: float = 0
</code></pre>

<p>and</p>

<pre><code>var hori: float = 0
</code></pre>

<p>but the program tells me its a semicolon instead of the colon i dont know why and also i use <code>&amp;&amp;</code> and it says syntax error... someone please help me</p>