- Home /
Question by
Ahmed_Noori123 · Jun 17, 2014 at 09:03 PM ·
error
i got this code (21,1): error CS8025: Parsing error and my Vector3 isn't showing?
using UnityEngine;
using System.Collections;
public class BirdMovement : MonoBehaviour {
Vector3 velocity = Vector3.zero;
public vector3 gravity;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void FixedUpdate () {
velocity += gravity *Time.deltaTime;
transform.position += velocity * Time.deltaTime;
}
Comment
Your answer
Follow this Question
Related Questions
Google Ads Integration problems 1 Answer
Unexpected error 1 Answer
iOS FPS Kit 0 Answers
HELP Build error for Android Unity 2018.2.21f1 in Google Services 0 Answers
Recursive culling with the same camera is not possible. 3 Answers