using UnityEngine; using Pixelplacement; public class AnneLiseBushBehaviour : MonoBehaviour { private StateMachine anneLiseBushStateMachine; // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { anneLiseBushStateMachine = GetComponent(); } public void TakePhoto() { anneLiseBushStateMachine.ChangeState("TakePhoto"); } }