SoundGenerator Puzzle Section WIP

Started on the sound generator section of the soundbird puzzle, plus organized folders.
This commit is contained in:
2025-09-22 14:28:01 +02:00
parent 2923ba0851
commit 322bd5377d
29 changed files with 1382 additions and 31 deletions

View File

@@ -0,0 +1,29 @@
using UnityEngine;
using Pixelplacement;
public class LawnMowerBehaviour : MonoBehaviour
{
private StateMachine stateMachineRef;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
stateMachineRef = GetComponent<StateMachine>();
}
// Update is called once per frame
void Update()
{
}
public void mowerTouched()
{
Debug.Log("Mower Touched");
}
public void stateSwitch(string StateName)
{
Debug.Log("State Switch to: " + StateName);
stateMachineRef.ChangeState(StateName);
}
}