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

public class Rotate : MonoBehaviour {

    public Vector3 m_rotate;
    public float m_speed;

    void Start()
    {
        transform.rotation = Random.rotation;
    }

	// Update is called once per frame
	void Update () {
        transform.Rotate(m_rotate*Time.deltaTime* m_speed);
	}
}
