Spatial lawnmower audio implemented

This commit is contained in:
2025-10-20 16:21:32 +02:00
parent b49bb43f79
commit c07f64ea4f
16 changed files with 884 additions and 2 deletions

View File

@@ -11,10 +11,14 @@ public class GardenerChaseBehavior : MonoBehaviour
[SerializeField] private Animator animator;
[SerializeField] public GameObject lawnMowerRef;
private TweenBase tweenRef;
public GardenerAudioController audioController;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
tweenRef = Tween.Spline (ChaseSpline, GardenerObject, 0, 1, false, chaseDuration, chaseDelay, Tween.EaseLinear, Tween.LoopType.None, HandleTweenStarted, HandleTweenFinished);
}
void HandleTweenFinished ()