2025-11-07 15:38:31 +00:00
|
|
|
using Core.SaveLoad;
|
2025-10-08 15:47:36 +02:00
|
|
|
using Pixelplacement;
|
2025-11-07 15:38:31 +00:00
|
|
|
using UnityEngine;
|
2025-10-08 15:47:36 +02:00
|
|
|
|
2025-11-07 15:38:31 +00:00
|
|
|
namespace StateMachines.Quarry.AnneLise
|
2025-10-08 15:47:36 +02:00
|
|
|
{
|
2025-11-07 15:38:31 +00:00
|
|
|
public class AnneLiseBushBehaviour : MonoBehaviour
|
2025-10-08 15:47:36 +02:00
|
|
|
{
|
2025-11-24 11:07:46 +01:00
|
|
|
[SerializeField] private GameObject dialogueCanvas;
|
|
|
|
|
|
|
|
|
|
|
2025-11-07 15:38:31 +00:00
|
|
|
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()
|
|
|
|
|
{
|
2025-11-24 11:07:46 +01:00
|
|
|
dialogueCanvas?.SetActive(false);
|
2025-11-07 15:38:31 +00:00
|
|
|
_anneLiseBushStateMachine.ChangeState("TakePhoto");
|
|
|
|
|
}
|
2025-10-08 15:47:36 +02:00
|
|
|
}
|
|
|
|
|
}
|