using System.Collections; using System.Collections.Generic; using UnityEngine; public class CafeWaiterNPC : NPCController { protected override void OnPlayerApproach() { AudioManager.Instance.PlayDialogue(voiceLineKeys[0], gameObject); } protected override void OnPlayerLeave() { AudioManager.Instance.PlayDialogue(voiceLineKeys[1], gameObject); } }