title: Can't find cs 1003 syntax error, ',' expected
body: <pre><code> void Update()
   {
       if (Input.GetButtonDown(RKey))
       {
           objNum = (Random.Range(0,6));
           if (objNum = 1)
           {
               Roundcube.GetComponent&lt;Animator&gt;().Play(Roundcube ROLLING DICE 1);
           }
           if (objNum = 2)
           {
               Roundcube.GetComponent&lt;Animator&gt;().Play(Roundcube ROLLING DICE 2);
           }
           if (objNum = 3)
           {
               Roundcube.GetComponent&lt;Animator&gt;().Play(Roundcube ROLLING DICE 3);
           }
           if (objNum = 4)
           {
               Roundcube.GetComponent&lt;Animator&gt;().Play(Roundcube ROLLING DICE 4);
           }
           if (objNum = 5)
           {
               Roundcube.GetComponent&lt;Animator&gt;().Play(Roundcube ROLLING DICE 5);
           }
           if (objNum = 6)
           {
               Roundcube.GetComponent&lt;Animator&gt;().Play(Roundcube ROLLING DICE 6);
           }
  
       }
  
   }
  </code></pre>
  <p>This is my code I have a lot of Syntax error's coming up. I'm doing this by watching a tutorial and I copied every code but it's not working. I'm a noob at Blender, sorry.</p>