Files
AppleHillsProduction/Assets/Scripts/DamianExperiments/LawnMowerPuzzle/GardenerBehaviour.cs

22 lines
550 B
C#
Raw Normal View History

using System.Security.Cryptography.X509Certificates;
using Core;
using Pixelplacement;
using UnityEngine;
2025-09-11 10:44:01 +02:00
public class GardenerBehaviour : MonoBehaviour
2025-09-11 10:44:01 +02:00
{
private StateMachine stateMachineRef;
2025-09-11 10:44:01 +02:00
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
stateMachineRef = GetComponent<StateMachine>();
2025-09-11 10:44:01 +02:00
}
public void stateSwitch (string StateName)
{
Logging.Debug("State Switch to: " + StateName);
stateMachineRef.ChangeState(StateName);
}
2025-09-11 10:44:01 +02:00
}