airfirier, car goof

This commit is contained in:
2025-12-17 22:02:45 +01:00
parent 0ee9e69d71
commit 6a490235ba
81 changed files with 1794 additions and 535 deletions

View File

@@ -0,0 +1,19 @@
using Core.SaveLoad;
using UnityEngine;
public class AnimationEventWrapper : MonoBehaviour
{
public AppleMachine stateMachine;
public void ChangeState(string stateName)
{
if (stateMachine == null)
{
Debug.Log($"Error: No statemachine found on Animation Event Wrapper {name}");
}
if (stateMachine != null)
{
stateMachine.ChangeState(stateName);
}
}
}