Devs Sprechen jetzt wenn man in der nähe ist

This commit is contained in:
2024-04-06 16:47:41 +02:00
parent 522f206977
commit 5cab2c6912
1208 changed files with 178165 additions and 240 deletions

View File

@ -10,7 +10,6 @@ public class NPC_Behavior : MonoBehaviour
[SerializeField] double eventRate = 1.0; // max 60, min 0 -> how many events are fired per minute
[SerializeField] private float _startTime = 30.0f;
private GameManager _gameManager;
private NPC_EventStack _eventStack;
private Text2Speech _text2Speech;
private AudioSource _audioSource;
@ -39,7 +38,6 @@ public class NPC_Behavior : MonoBehaviour
// Start is called before the first frame update
void Start()
{
_gameManager = GameManager.Instance;
_developerNeeds = GetComponent<DeveloperNeeds>();
_eventStack = GetComponent<NPC_EventStack>();
_text2Speech = GetComponent<Text2Speech>();