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().AddForce (JumpForce);
Unity:Assets/NewBehaviourScript.cs(4,16): error CS8025: Parsing error
Can someone help me, im a starter......
↧