More voicelines added, PlayDialogue function updated

This commit is contained in:
Timur Nizamov
2026-01-16 17:37:42 +02:00
parent 641fe43472
commit 6def60df98
66 changed files with 521 additions and 13 deletions

View File

@@ -3,11 +3,11 @@ using UnityEngine;
public class VoiceoverTester : MonoBehaviour
{
//[Tooltip("Audio Table key")]
public string dialogueKey = "Professor/Madis_Printing2";
public string dialogueKey = "Chef/Ulrich_Terribly_Sorry1";
private void OnTriggerEnter(Collider other)
{
AudioManager.Instance.PlayDialogue(dialogueKey, gameObject);
AudioManager.Instance.PlayDialogue(dialogueKey, gameObject, 0f);
//Debug.LogError("Voiceline played (in 3D)");
}
}