I’m currently doing the roll-a-ball tutorial and have faced many errors, which i resolved after taking help online. But the one(s) I’m having with the rotator, I couldn’t find them anywhere.
using UnityEngine;
using System.Collections;
public class Rotator : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update()
{
transform.Rotate(new Vector3(15, 30, 45) * Time.deltaTime)
}
}
I’m getting the errors:
CS8025 Parsing error, and
CS1525 Unexpected symbol ‘}’
Please help. Thank you.