A lightweight and flexible Day/Night Cycle and Weather System for Unity with dynamic lighting, smooth sky transitions, weather presets, time control, and time-based events.Day/Night Cycle + Weather System is a modular environment solution for Unity developers who need full control over time of day and weather conditions in their projects.This asset provides a real-time day and night cycle with smooth sun and moon rotation, dynamic lighting changes, and blended day/night sky transitions. It also includes a flexible weather system with ready-to-use Rain, Snow, and Fog presets based on ScriptableObjects, making it easy to customize and extend for different project needs.The system is designed to be easy to integrate into both small and large projects. Time progression can be paused, resumed, sped up, slowed down, or manually set at runtime. You can also trigger events at specific hours, which makes the asset useful for gameplay systems such as NPC schedules, enemy spawning, quests, shop opening hours, survival mechanics, and environmental storytelling.The package is suitable for a wide range of genres, including survival, RPG, simulation, open world, sandbox, strategy, and adventure games. It is also beginner-friendly, while still being clean and modular enough for advanced developers who want to expand or adapt the system for their own pipelines.Main Features:- Real-time day/night cycle- Smooth sun and moon rotation- Dynamic lighting, ambient, and reflection updates- Smooth day/night sky transition- Weather system with Rain, Snow, and Fog- ScriptableObject-based weather presets- Time speed control and manual time override- Pause and resume support- Time-based event triggers using UnityEvents- Easy setup and integration- Lightweight and performance-friendly- Clean, modular, and extendable codebaseRender Pipeline Compatibility:- Built-in Render Pipeline: Supported- URP: Not tested- HDRP: Not testedPackage Contents:- 10 C# scripts- 3 weather presets- 5 prefabs- 2 skybox materials- 2 sky textures- 1 custom skybox blend shader- 1 demo scene- Documentation in TXT and PDF formatMain Scripts:- TimeManager- DayNightController- LightingController- SkyboxController- WeatherManager- WeatherPreset- TimeEventTrigger- EnvironmentManager- DayNightDemoUI- DemoEnvironmentBuilderFeatures Included:- Real-time day/night cycle- Smooth day/night sky transition- Sun and moon orbit control- Dynamic direct light, ambient light, and reflection updates- Weather system with Rain, Snow, and Fog- ScriptableObject-based weather presets- Runtime time controls- Time-based UnityEvent triggers- Demo UI for testing- Example demo sceneCustomization:- Adjustable day length- Configurable sunrise and sunset hours- Adjustable sky transition duration- Adjustable sun, moon, and ambient intensity- Editable lighting gradients and animation curves- Editable weather fog, color, density, and lighting multipliers- Manual weather switching- Manual time overrideDependencies:- No external packages requiredDocumentation:- Included




