Skip to main content

WeatherSystem

18 tools in this family (folder Editor/Tools/WeatherSystem/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
weather_add_listenerwritesGenerate a WeatherListener MonoBehaviour next to a target GameObject that subscribes to
weather_apply_profilewritesReplace the current weather profile with a preset climate. Available: Temperate (30/30/25/15),
weather_configure_aurorawritesConfigure the aurora overlay (northern/southern lights). Rendering is gated by
weather_configure_cloudswritesAdd or update a volumetric cloud layer. Use type 'billboard_2d' for cheap scrolling planes,
weather_configure_fogwritesConfigure fog. Mode: linear (start/end distance), exponential, exponentialsquared, or height_linear
weather_configure_windwritesConfigure the global wind zone: base direction, base strength m/s, Perlin turbulence frequency
weather_create_statewritesDefine a custom weather state and add it to the current profile (or create a new profile
weather_export_setupread-onlyExport the full weather configuration — time, location, profile (states + matrix), cloud
weather_get_sun_positionread-onlyQuery the current sun direction (world-space unit vector), altitude/azimuth in degrees,
weather_load_statewritesRestore the weather runtime from a JSON envelope produced by weather_save_state. Accepts
weather_save_stateread-onlySerialize the current weather runtime to JSON. Captures time, location, current+target state,
weather_set_lighting_curveswritesConfigure sun + moon intensity / color curves over a single 24h day. Each curve is a list
weather_set_locationwritesSet geographic latitude, longitude, UTC offset and DST offset. Used by the astronomical
weather_set_statewritesTransition to a registered weather state. Provide duration_seconds (default 30s) and
weather_set_timewritesSet the runtime's current date/time. Any field omitted is left at its current value.
weather_set_time_scalewritesSet how fast game time advances relative to real time. 1.0 = real-time,
weather_setup_systemwritesInitialise the weather runtime in the Editor session and (optionally) drop a
weather_trigger_lightningwritesTrigger a one-shot lightning flash + delayed thunder pair. The thunder delay is computed from