Minor - Add Assets And Support Dual Screen
This commit is contained in:
20
Assets/MobileDepthWater/Scripts/Water/WaterArea.cs
Normal file
20
Assets/MobileDepthWater/Scripts/Water/WaterArea.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace Assets.Scripts.Water
|
||||
{
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>
|
||||
/// Area that belongs to some water
|
||||
/// </summary>
|
||||
public class WaterArea : MonoBehaviour
|
||||
{
|
||||
/// <summary>
|
||||
/// Water shader properties of the water this area belong
|
||||
/// </summary>
|
||||
[SerializeField] private WaterPropertyBlockSetter waterProperties;
|
||||
|
||||
public MaterialPropertyBlock WaterPropertyBlock
|
||||
{
|
||||
get { return waterProperties.MaterialPropertyBlock; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user