More voicelines added, PlayDialogue function updated
This commit is contained in:
@@ -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)");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user