29 lines
666 B
C#
29 lines
666 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
[Serializable]
|
|
public class AmbientSettings
|
|
{
|
|
public bool AmbientMode;
|
|
|
|
public bool Interactive;
|
|
|
|
[HideInInspector]
|
|
public bool AmbientModeInitial;
|
|
|
|
[Tooltip("Scaling factor applied to wave height.")]
|
|
[Range(-12f, 12f)]
|
|
public float WaveHeight = -0.25f;
|
|
|
|
[Tooltip("The number of drops to make at the start of the simulation.")]
|
|
[Range(1f, 450f)]
|
|
public int AmbientWaveIntensity = 14;
|
|
|
|
[Tooltip("How long to run the simulation for even when not visible, prevents initial disturbances from being seen")]
|
|
[Range(1E-06f, 10f)]
|
|
public float AmbientStartRuntime = 10f;
|
|
|
|
[Range(0f, 100f)]
|
|
public float AmbientSpeed = 50f;
|
|
}
|