Added animations, two state machines

This commit is contained in:
2025-09-10 22:17:51 +02:00
parent e7c950480f
commit 1c987af2b8
40 changed files with 4632 additions and 288 deletions

View File

@@ -0,0 +1,26 @@
using UnityEngine;
using Pixelplacement;
public class GardenerChaseBehavior : MonoBehaviour
{
public Spline ChaseSpline;
public Transform GardenerObject;
public float chaseDuration;
public float chaseDelay;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
Tween.Spline (ChaseSpline, GardenerObject, 0, 1, false, chaseDuration, chaseDelay, Tween.EaseInOut, Tween.LoopType.PingPong);
}
void Awake()
{
}
// Update is called once per frame
void Update()
{
}
}