using UnityEngine;
using System.Collections;

public class cubeFlip : MonoBehaviour
{

		// Use this for initialization
		void Start ()
		{

		}

		// Update is called once per frame
		void Update ()
		{
				this.transform.Rotate (new Vector3 (10 * Time.deltaTime, 0, 0));
		}

		void OnGUI ()
		{
				if (GUI.Button (new Rect (10, 10, 150, 40), "Home")) {
						Application.LoadLevel ("sceneTest");
				}
		}
}
