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

public class RotateCycle : MonoBehaviour
{
    private Vector3 rotate;

    // Use this for initialization
    void Start()
    {
        rotate = gameObject.transform.eulerAngles;
    }

    // Update is called once per frame
    void Update()
    {
        gameObject.transform.eulerAngles = rotate;
        rotate.z = rotate.z + 1;
    }
}