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(); } // Update is called once per frame void Update() { } public void TakePhoto() { anneLiseBushStateMachine.ChangeState("TakePhoto"); } }