26 lines
686 B
C#
26 lines
686 B
C#
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<AppleMachine>();
|
|
}
|
|
|
|
public void TakePhoto()
|
|
{
|
|
dialogueCanvas?.SetActive(false);
|
|
_anneLiseBushStateMachine.ChangeState("TakePhoto");
|
|
}
|
|
}
|
|
}
|