﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Rotate : MonoBehaviour {

	public bool canRot = true;
	Vector3 rot;

	// Use this for initialization
	void Start () {
		canRot = true;
	}
	
	// Update is called once per frame
	void Update () {
		if (canRot) {
			transform.Rotate (Vector3.up * 5 * Time.deltaTime);
		} else {
			// Do Nothing
		}
	}
}