using Core.SaveLoad; using Pixelplacement; using UnityEngine; namespace StateMachines.Quarry.AnneLise { public class AnneLiseBushBehaviour : MonoBehaviour { [SerializeField] private GameObject dialogueCanvas; private AppleMachine _anneLiseBushStateMachine; // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { _anneLiseBushStateMachine = GetComponent(); } public void TakePhoto() { dialogueCanvas?.SetActive(false); _anneLiseBushStateMachine.ChangeState("TakePhoto"); } } }