heey guys I want to learn the basics so i decided i make flappybird! try unity but onfortunitly i get stuck at these problems. Can someone explain to me what the problems are? what do i wrong?
using UnityEngine;
using System.Collections;
public Vector3 flappyForce = new Vector3(0,50,0);
public class Flappyscript : MonoBehaviour {
void Start () {
}
void Update () {
if (Input.GetKeyDown("space")){
Rigidbody,AddForce(flappyForce)
}
}
}