Question by 
               FFlover01 · Jun 23, 2017 at 04:15 AM · 
                beginnerunexpected-symbol  
              
 
              Unexpected symbol error
Hello, I'm totally new to Unity and coding so I'm using a guide to help me set up a character controller. I've basically copied the code exactly as instructed, the guide runs the okay smoothly but I'm struggling because I keep getting an error and I don't know how to fix it. Please help!
using System.Collections; using UnityEngine;
public class RavenCode : MonoBehaviour {
 public float maxS = 11f;
 bool right = true;
 Animator a;
 bool ground = false;
 public Transform grCheck;
 float grRadius = 0.2f;
 public float jForce = 700f;
 public LayerMask wiGround;
 void Start () 
 {
     a = GetComponent<Animator> ();
 }
 void FixedUpdate ()
 {
     ground = Physics2D.OverlapCircle (grCheck.position, grRadius, wiGround)
     a.SetBool ("Ground", ground); **//unexpected symbol "a"**
     float move = Input.GetAxis ("Horizontal");
     a.SetFloat ("Speed",Mathf.Abs(move));
     GetComponent<Rigidbody2D>().velocity = new Vector2(move * maxS, GetComponent<Rigidbody2D>().velocity.y);
         if(move > 0 && !right)
             Flip ();
         else
         {
             if(move < 0 && right)
                 Flip();
         }
 }
 void Flip()
 {
     right = !right;
     Vector3 scale = transform.localScale;
     scale.x *= -1;
     transform.localScale = scale;
 }
}
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
C# unexpected symbol error 1 Answer
standard Assest 1 Answer
How to substitute one object with another in animation clip 0 Answers
Why is my Unity different than the one in the Beginner Tutorial? 1 Answer
2D trigger and mouse button help 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                