Added cementmachine with animated states
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Core.SaveLoad;
|
||||
using UnityEngine;
|
||||
|
||||
public class MachineWorkingBehavior : MonoBehaviour
|
||||
{
|
||||
public AppleMachine stateMachine;
|
||||
|
||||
|
||||
public void WorkingAnimationDone()
|
||||
|
||||
{
|
||||
stateMachine.ChangeState("Exploding");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user