Sayfalar (23)Easy Weather Manager
- Overview
- Installation
- Getting started
- Quick Start window
- System overview
- Easy Weather Manager
- Time Module
- Celestial Module
- Cloud Module
- Volumetric clouds
- Cloud shadows
- Fog
- Detail Module
- Weather Effects Module
- Weather presets
- Events Module
- Lens flare occlusion
- Helper components
- Demo scene
- Scripting guide
- Troubleshooting
- FAQ
- Changelog
Easy Weather Manager
Son güncelleme: 6 Ekim 2026
Bu sayfa henüz Türkçeye çevrilmedi, İngilizcesi gösteriliyor.
EasyWeatherManager is the root component of the EasyWeather prefab. It finds and initializes the modules, updates them every frame (in Edit Mode too, so the Scene view previews the sky), and creates the audio sources if they are missing. Use one manager per scene.
The inspector has the sections System Settings, Module Overview, Module References and Audio Sources.
Settings
| Setting | Description |
|---|---|
autoUpdate | Updates the system every frame. When off, nothing updates and you call the modules yourself |
verboseLogging | Writes step by step messages to the console: day rollovers, weather scheduling, cloud generation. Off by default. Warnings and errors always show |
createDefaultVolume | When the scene has no global post processing Volume, the manager creates one (a child named Global Volume). A scene that already has a global Volume is left exactly as it is |
defaultVolumeProfile | The profile for that Volume. Weather presets blend their own profiles on top of it |
timeModule, celestialModule, cloudModule, detailModule, weatherEffectsModule, eventsModule | References to the six modules |
weatherAudioSource, windAudioSource, thunderAudioSource, ambientAudioSource | Played by the running weather preset |
ambienceDayAudioSource, ambienceNightAudioSource, ambienceWindAudioSource | Clear weather ambience, crossfaded by time of day. See Weather Effects Module |
Public API
| Member | Description |
|---|---|
static EasyWeatherManager instance | The enabled manager (the most recently enabled one if there are several), or null |
float GetCurrentTime() | Current hour, 0 to 24 |
float GetNormalizedTime() | Current time as 0 to 1 |
bool IsDayTime(), bool IsNightTime() | Shortcuts to the Time Module |
AddTimeModule(), AddCelestialModule(), AddCloudModule(), AddDetailModule(), AddWeatherEffectsModule(), AddEventsModule() | Create a missing module as a child object |
static void LogVerbose(string message) | Logs only while verboseLogging is on |
using KairaDigitalArts;
var weather = EasyWeatherManager.instance;
if (weather != null)
{
Debug.Log("Hour: " + weather.GetCurrentTime());
}Hâlâ takıldınız mı?
Unity sürümünüzü, render pipeline bilginizi ve sorunun ekran görüntüsünü gönderin.

