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

23 lines
575 B
C#

using System;
using UnityEngine;
[Serializable]
public class ObstructionSettings
{
public enum setRate
{
Half = 0,
Full = 1
}
[Tooltip("Whether to check for and set obstructions.")]
public bool ObstructionsEnabled = true;
[Tooltip("How high above the plane to raycast down to detect obstructions. May need to lower if you have a roof above the plane")]
[Range(1f, 1000f)]
public float heightCuttoff = 25f;
[Tooltip("How often to apply obstructions. Half speed has better performance but may not look as good in some situations.")]
public setRate SetRate;
}