22 lines
635 B
C#
22 lines
635 B
C#
using UnityEngine;
|
|
|
|
namespace TD.Gameplay
|
|
{
|
|
[CreateAssetMenu(fileName = "BuilderSettings", menuName = "TD/Builder Settings")]
|
|
public class BuilderSettings : ScriptableObject
|
|
{
|
|
[Header("Movement")]
|
|
public float moveSpeed = 8f;
|
|
public float arrivalThreshold = 0.05f;
|
|
public float turnRateDegPerSec = 540f;
|
|
|
|
[Header("Height Tracking")]
|
|
public float heightOffset = 2f;
|
|
public float terrainRaycastMaxDistance = 100f;
|
|
public LayerMask terrainLayerMask;
|
|
|
|
[Header("Build")]
|
|
public float buildRange = 6f;
|
|
public int maxQueueDepth = 32;
|
|
}
|
|
}
|