Implemented museum chain reaction

This commit is contained in:
2025-12-08 13:18:51 +01:00
parent 861749485e
commit 2839223513
499 changed files with 62168 additions and 1258 deletions

View File

@@ -1,24 +0,0 @@
using UnityEngine;
using Core.Lifecycle;
using Core.SaveLoad;
public class AnimationEvents : ManagedBehaviour
{
[HideInInspector]
public AppleMachine stateMachine;
internal override void OnManagedAwake()
{
stateMachine = GetComponentInParent<AppleMachine>();
if (stateMachine == null)
{
Debug.Log($"[AnimationEvent] Animated state {name} does not have a valid state machine!");
}
}
public void AnimSwitchState(string stateToGoTo)
{
stateMachine.ChangeState(stateToGoTo);
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: b7d19342242409e4583ce050712ec0c5