Day/Night Cycle

Another update for Journey for the Crown. A simple script for our day/night cycle. See below for the script. 

using UnityEngine;
using System.Collections;
public class Daylight : MonoBehaviour {
[Tooltip ("Number of Minutes per second that pass. Try 60")]
public float minutesPerSecond;
// Update is called once per frame
void Update () {
float angleThisFrame = Time.deltaTime / 360 * minutesPerSecond;
transform.RotateAround (transform.position, Vector3.forward, angleThisFrame);
}
}