An Easy and Simple solution for day-night cycle in Unity game engine.
To use simply import DayNightCycle.cs and Editor/DayNightCycleEditor.cs into your project. Assign DayNightCycle.cs to a directional light in your scene and play around with the settings. Then assign your Directional light and a procedural skybox material in the Lighting Settings. You may also lower the Reflection Intensity to get get darker scenes during night.
Tested in the 5.5 beta but should work in previous versions too. Procedural Skybox material is needed.
- Presets (maybe)
- Range sliders for min-max variables
- Quick method that returns in game time(hours:minutes:seconds)