- Home /
This question was
closed Dec 27, 2014 at 08:08 PM by
Graham-Dunnett for the following reason:
Duplicate Question - http://answers.unity3d.com/questions/topics/cs8025.html
cs8025 Parsing Error
I just began learning how to use Unity today with a course on Udemy. I did exactly as the person did (using Gui to make a cube move) when coding but I keep getting the same error. This is my first time and I am trying not to miss anything!
using UnityEngine;
using System.Collections;
public class ForceScript : MonoBehaviour {
public Rigidbody mycube;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnGUI() {
if (GUI.Button(new Rect(10, 10, 150, 100), "Upward Force")){
mycube.AddForce (0,200F,0);
}
}
I'll be looking forward to a response. Thanks.
Comment
Follow this Question
Related Questions
Assets/Scripts/PlayerController.cs(22,25): error CS8025: Parsing error 0 Answers
Parsing Error 2 Answers
What Does error mean : i got it from this line of script...... 2 Answers
Jukebox parsing error 2 Answers
CS8025 parsing error, can't find, halp ! 0 Answers