Swapping cylinder for default human and adding animation states
This commit is contained in:
parent
f05734e19b
commit
ab35ad0e32
33 changed files with 513 additions and 137 deletions
22
Assets/_Project/Scripts/Gameplay/BuilderSettings.cs
Normal file
22
Assets/_Project/Scripts/Gameplay/BuilderSettings.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue