private void OnValidate()
 {
     if (Application.isPlaying && this.Water != null && this.Water.WindWaves != null)
     {
         this.Water.ProfilesManager.SetProfiles(WaterProfileBlend.CreateProfiles(this._Profiles, this._Weights));
     }
     if (WaterProfileBlend.WeightSum(this._Weights) == 0f)
     {
         this._Weights[0] = 1f;
     }
 }
 private void Start()
 {
     this.Water.ProfilesManager.SetProfiles(WaterProfileBlend.CreateProfiles(this._Profiles, this._Weights));
 }