Further updates to state machines
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
using Core.SaveLoad;
|
||||
using UnityEngine;
|
||||
using Pixelplacement;
|
||||
|
||||
public class BirdEyesBehavior : MonoBehaviour
|
||||
{
|
||||
private StateMachine statemachine;
|
||||
private AppleMachine statemachine;
|
||||
private Animator animator;
|
||||
public bool correctItemIsIn;
|
||||
[SerializeField] private Animator bushAnimator; // Assign in Inspector
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
statemachine = GetComponent<StateMachine>();
|
||||
statemachine = GetComponent<AppleMachine>();
|
||||
animator = GetComponentInChildren<Animator>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user