Files
UltimateFishing2020/Assets/Scripts/Assembly-CSharp/InputSmoothingSettings.cs
2026-03-04 10:03:45 +08:00

24 lines
601 B
C#

using System;
using UnityEngine;
[Serializable]
public class InputSmoothingSettings
{
public bool SmoothingEnabled = true;
[Tooltip("Number of times to run the smoothing algorithm")]
[Range(1f, 10f)]
public int SmoothingLevel = 3;
[Tooltip("The size of the area around the input position to be smoothed.")]
[Range(0f, 10f)]
public int BlurRadius = 3;
[Tooltip("Whether or not to cap the max wave height. Greatly improves simulation stability if enabled.")]
public bool ClampBuffer = true;
[Tooltip("The level of Buffer Clamping")]
[Range(0.05f, 0.3f)]
public float Clamping = 0.1f;
}