using UnityEngine; using System.Collections; public class Rotation : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { transform.rotation = Quaternion.AngleAxis (Time.timeSinceLevelLoad * 10.0f, Vector3.up); } }