19 lines
443 B
C#
19 lines
443 B
C#
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<StateMachine>();
|
|
}
|
|
|
|
public void TakePhoto()
|
|
{
|
|
anneLiseBushStateMachine.ChangeState("TakePhoto");
|
|
}
|
|
}
|