using System; using UnityEngine; [Serializable] public class CollisionCullingSettings { [Tooltip("If enabled the simulation will stop and start depending on whether the main input is colliding with the plane or not.")] public bool collisionCulling; [Tooltip("The length of time to wait before stopping the simulation after collision culling has been triggered by colliding with something other than a water plane.")] [Range(0f, 10f)] public float exitPauseDelay = 2f; [Tooltip("The length of time to wait before stopping the simulation after collision culling has been triggered by colliding with a different water plane.")] [Range(0f, 10f)] public float interPlanePauseDelay = 2f; }