using System; namespace UnityEngine.AzureSky { /// Class that represents a global weather preset. [Serializable] public sealed class AzureGlobalWeather { /// The weather preset for this global weather. public AzureWeatherPreset weatherPreset { get => m_weatherPreset; set => m_weatherPreset = value; } [SerializeField] private AzureWeatherPreset m_weatherPreset; /// The time in seconds of the weather transition to this preset. public float transitionTime { get => m_transitionTime; set => m_transitionTime = value; } [SerializeField] private float m_transitionTime = 10f; public AzureGlobalWeather(float transitionTime) { m_transitionTime = transitionTime; } } }