﻿using UnityEngine;
using System.Collections;

public class RotateObject : MonoBehaviour {

	private float angle;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		transform.rotation = Quaternion.AngleAxis (angle++, Vector3.up);
	}
}
