ok so im making a flappy bird game and this is my code the error isnt letting me close void update
it keeps telling me Unexpected expression term?? help
here is code also im not sure im posting this in the right place lol
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
public float flyforce;
private Rigidbody2D rb;
// Use this for initialization
void Start () {
rb = GetComponent ();
}
// Update is called once per frame
void Update () {
fly ();
if (Input.GetButtonDown (“Fire1”).
}
//This is the upwards motion!!!
void fly()
{
}
}