namespace Assets.Scripts.Water
{
using UnityEngine;
///
/// Area that belongs to some water
///
public class WaterArea : MonoBehaviour
{
///
/// Water shader properties of the water this area belong
///
[SerializeField] private WaterPropertyBlockSetter waterProperties;
public MaterialPropertyBlock WaterPropertyBlock
{
get { return waterProperties.MaterialPropertyBlock; }
}
}
}