Question by
Wutax · Dec 19, 2015 at 03:57 PM ·
c#error messageparsing errornew user
Parsing error
using UnityEngine; using System.Collections;
public class BirdControl : MonoBehaviour {
public Vector2 JumpForce = new Vector2 (0,500);
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetKeyDown (KeyCode.Space)) {
GetComponent<Rigidbody2D>().AddForce (JumpForce);
Unity:Assets/NewBehaviourScript.cs(4,16): error CS8025: Parsing error
Can someone help me, im a starter......
Comment
you're kinda missing some code there, or if you arent, you are definitely missing two }
's at the end
Your answer
Follow this Question
Related Questions
NullReferenceException by detecting health 1 Answer
error CS8025: Parsing error 1 Answer