public static WeatherGlobalPropertyData operator +(WeatherGlobalPropertyData data1, WeatherGlobalPropertyData data2)
        {
            WeatherGlobalPropertyData data = new WeatherGlobalPropertyData();

            data.RainIntensity = data1.RainIntensity + data2.RainIntensity;
            data.SnowIntensity = data1.SnowIntensity + data2.SnowIntensity;
            return(data);
        }
        public WeatherGlobalPropertyData GetDataByBlendWeight(float blendWeight)
        {
            WeatherGlobalPropertyData data = new WeatherGlobalPropertyData();

            data.RainIntensity = RainIntensity * blendWeight;
            data.SnowIntensity = SnowIntensity * blendWeight;
            return(data);
        }
 public void SetData(WeatherGlobalPropertyData data)
 {
     Rain.SetFloat(data.RainIntensity);
     Snow.SetFloat(data.SnowIntensity);
 }
 public void InitData(WeatherGlobalPropertyData data)
 {
     m_data = data;
     Rain.Init(m_data.RainIntensity);
     Snow.Init(m_data.SnowIntensity);
 }