- Home /
roll-a-boll tutorial-rotator error
Assets/Scripts/Rotator.cs(12,1): error CS8025: Parsing error using UnityEngine; using System.Collections;
public class Rotator : MonoBehaviour
{
void Update ()
{
transform.Rotate(new Vector3(15, 30, 45) * Time.deltaTime);
{
}
Comment
your closing bracket from the Update function is actually an opening bracket...
Answer by WolfDivinity · May 31, 2014 at 11:44 AM
Please ensure that you have closing curly braces on your code, this parsing error usually signifies a missing brace.
If you have all braces closed, attempt to restart unity, this could be an internal error.
yeah i figured it out like 2 seconds after i posted, but i could find the post to delete. i tried to close the void update() with an open bracket
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Roll-A-Ball Problem 2 Answers
Argument out of Range 1 Answer
Roll a Ball tutorial error 4 Answers